English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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


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.