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
Toplevel debugging.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-01-24 (05:00)
From: Jake Donham <jake@d...>
Subject: Re: [Caml-list] Toplevel debugging.
On Sat, Jan 23, 2010 at 9:29 AM, Guillaume Yziquel
<> 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:

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.