[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jake Donham <jake.donham@s...> |
| Subject: | Re: [Caml-list] Issue #4265 (Printexc) |
2008/5/10 Berke Durak <berke.durak@gmail.com>: > On Sat, May 10, 2008 at 10:36 AM, Christophe TROESTLER < > Christophe.Troestler+ocaml@umh.ac.be<Christophe.Troestler%2Bocaml@umh.ac.be>> > wrote: > > > > > Is it what you want: http://caml.inria.fr/mantis/view.php?id=4265 ? > > > That's a very nice thing to have. Please, Xavier, could you expose the > loc_info type > and the get_exception_backtrace in the Printexc interface? That would > allow, > for instance, to intelligently log the exceptions raised by the subthreads > in a > long-running web server without having to re-parse the string > representation. > There is also a patch available (against 3.10.x) here http://skydeck.com/blog/programming/more-stack-traces-in-ocaml/ It exposes only the string representation, but it handles dynamically loaded code (so e.g. can give stack traces in the toplevel), at the cost of keeping debugging info in memory all the time. Jake