caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Exception backtraces
@ 2007-01-23  2:54 Denis Bueno
  2007-01-24 21:53 ` [Caml-list] " Ingo Bormuth
  0 siblings, 1 reply; 7+ messages in thread
From: Denis Bueno @ 2007-01-23  2:54 UTC (permalink / raw)
  To: OCaml Mailing List

I found some > 6 year old threads on this list
(http://caml.inria.fr/pub/ml-archives/caml-list/2000/07/5a1aa1b9873679a2bf87fce5c55f342f.en.html)
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.

-Denis


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-25 22:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-23  2:54 Exception backtraces Denis Bueno
2007-01-24 21:53 ` [Caml-list] " Ingo Bormuth
2007-01-25  2:32   ` Denis Bueno
2007-01-25  2:47     ` Jon Harrop
2007-01-25  4:57       ` Denis Bueno
2007-01-25 22:37       ` Jan Rehders
2007-01-25  3:31     ` Erik de Castro Lopo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).