Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

Thanks.

Sam.