caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] exception handling questions
@ 2003-11-06  8:38 Dustin Sallings
  2003-11-06  9:02 ` Richard Jones
  2003-11-06  9:47 ` Oleg Trott
  0 siblings, 2 replies; 8+ messages in thread
From: Dustin Sallings @ 2003-11-06  8:38 UTC (permalink / raw)
  To: Caml Mailing List


	One thing that really seems to be missing from exception handling is 
the ability to print a stack trace from an exception.  I realize 
there's a flag on the ocamlrun to print stacks for uncaught exceptions, 
but that's not exactly what I'm looking for.  I'd like to be able to 
catch and exception, log it, and continue.

	Similarly, is there a way to print an exception at least like the 
toplevel does?  I can catch any type of exception with the appropriate 
pattern, but I don't see how I can report it without expecting it.

-- 
Dustin Sallings

-------------------
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


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

end of thread, other threads:[~2004-01-31  1:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-06  8:38 [Caml-list] exception handling questions Dustin Sallings
2003-11-06  9:02 ` Richard Jones
2003-11-06  9:50   ` Dustin Sallings
2003-11-06  9:56     ` Richard Jones
2004-01-31  1:02     ` Eric Stokes
2004-01-31  1:50       ` Dustin Sallings
2003-11-06  9:47 ` Oleg Trott
2003-11-06 10:39   ` Dustin Sallings

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).