Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] exceptions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Artem Prisyznuk <tema@s...>
Subject: Re: [Caml-list] exceptions
On Thu, 20 Nov 2003 17:38:02 +0100, Xavier Leroy <xavier.leroy@inria.fr> 
wrote:

> - Execute your program.  Voila, nice stack backtrace with line numbers.

Is it possible acces to nice backtrace info from bytecode program?

For example:

let bad_fun () =
   raise Not_found;;

let main () =
   try
	bad_fun ()
   with exc -> print_backtrace_log exc



-- 
Artem Prysyznuk
tema@sit.kiev.ua

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners