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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jake Donham <jake@d...>
Subject: Re: [Caml-list] Toplevel debugging.
On Sat, Jan 23, 2010 at 9:29 AM, Guillaume Yziquel
<guillaume.yziquel@citycable.ch> wrote:
> I am wondering how to use a debugger with libraries in the toplevel. As
> /usr/bin/ocaml is bytecode and that the exception is raised from OCaml and
> not from C code, I do not have a backtrace:

You may find this patch helpful; it adds backtraces to the toplevel:

  http://skydeck.com/blog/programming/more-stack-traces-in-ocaml

I have been meaning to update it for 3.11.x, but you might get some
insight into your problem by running on 3.10.2.