Version française
Home     About     Download     Resources     Contact us    
Browse thread
Where did the exception occur?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Mattias Waldau <mattias.waldau@a...>
Subject: Where did the exception occur?
I am running my program from the top-level, and the programs aborts to the
toplevel ans says:

Uncaught exception: Not_found.

Is there a way to tell where the exception occured, for example program
languages like SICStus Prolog, Lisp, Visual C++, Visual Basic normally stops
in a top-loop at the stack frame of the error. Is there a similar feature in
OCaml?

----
Mattias Waldau