Version française
Home     About     Download     Resources     Contact us    
Browse thread
Exception backtraces
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Denis Bueno <dbueno@g...>
Subject: Exception backtraces
I found some > 6 year old threads on this list
having to do with the fact that you couldn't get backtraces on caught
exceptions without using camlp4.

Is this still the case?

I'm using a unit testing framework, and it catches thrown exceptions
and uses Printexc.print to print out the exception. However, this
omits the most useful piece of information: the source line that threw
the exception. Is there anyway to get there, short of setting
OCAMLRUNPARAM="b" and letting it propagate to the source level (or
using the debugger)?

Thanks in advance.