From: Jake Donham <jake@donham.org>
To: guillaume.yziquel@citycable.ch
Cc: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Toplevel debugging.
Date: Sat, 23 Jan 2010 21:00:04 -0800 [thread overview]
Message-ID: <c7e4e9f1001232100o53a507d4g51b65fe82e9a554c@mail.gmail.com> (raw)
In-Reply-To: <4B5B31E3.5060605@citycable.ch>
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.
next prev parent reply other threads:[~2010-01-24 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4B3A7C34.3060606@yziquel.homelinux.org>
[not found] ` <4B4F3402.4010307@citycable.ch>
[not found] ` <c55009e71001160745y5b9a03b9r326a98d1e42f1cd5@mail.gmail.com>
[not found] ` <4B5B2F9F.3050302@citycable.ch>
2010-01-23 17:29 ` Guillaume Yziquel
2010-01-24 5:00 ` Jake Donham [this message]
2010-01-25 8:56 ` [Caml-list] " Jérémie Dimino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c7e4e9f1001232100o53a507d4g51b65fe82e9a554c@mail.gmail.com \
--to=jake@donham.org \
--cc=caml-list@inria.fr \
--cc=guillaume.yziquel@citycable.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox