Version française
Home     About     Download     Resources     Contact us    
Browse thread
Stack traces
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Pierre Weis <Pierre.Weis@i...>
Subject: Re: Stack traces
> Hi, 
> 	Is there any way to get a stack trace, or even core dump, when
> an uncaught exception occurs in O'Caml?  Getting
>  
> 	Fatal error: out-of-bound access in array or string
> 
> isn't much more useful than the traditional segfault, and is less
> useful than a core dump; it tells me why the program crashed but not
> where.

[...]

You should have a look to the Caml debugger: it gives you a back trace
facility and backward execution as well.

Best regards,

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/