Re: Stack traces

From: Pierre Weis (Pierre.Weis@inria.fr)
Date: Thu Jul 24 1997 - 09:35:01 MET DST


From: Pierre Weis <Pierre.Weis@inria.fr>
Message-Id: <199707240735.JAA20302@pauillac.inria.fr>
Subject: Re: Stack traces
In-Reply-To: <199707232133.RAA16346@kalgoorlie.cs.umass.edu> from "Adam P. Jenkins" at "Jul 23, 97 05:33:18 pm"
To: ajenkins@cs.umass.edu (Adam P. Jenkins)
Date: Thu, 24 Jul 1997 09:35:01 +0200 (MET DST)

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



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:11 MET