Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
backtrace output: feature request
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-18 (16:03)
From: Sam Steingold <sds@g...>
Subject: backtrace output: feature request
it appears that starting with 3.10 stack traces for natively compiled 
executables will be available. thanks!
one thing that I would love to see is being able to redirect this output:

try Result (foo ())
with e ->
   fprintf logstream "error: %s" (error_to_string e);
   stack_trace logstream;
   Error e

so that I can log both errors and their stack traces in a file for later 
examination, but still continue running.