From: Yoann Padioleau <padator@wanadoo.fr>
To: C.Fr <newsgroups.fr@gmail.com>
Cc: <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Backtracting exceptions in toplevel
Date: Mon, 29 Mar 2010 13:58:31 -0700 [thread overview]
Message-ID: <3D028BE7-D934-40EF-803E-76A514B968F3@wanadoo.fr> (raw)
In-Reply-To: <4bb0fc46.11b38c0a.3fb3.7cee@mx.google.com>
There is Printexc.get_backtrace
since ocaml 3.11 I think.
On Mar 29, 2010, at 12:15 PM, C. Fr wrote:
>
> Hello everyone,
>
> It there a way to get a backtrace for exceptions occurring in the toplevel
> (for example, getting more information when the stack blows)? I’ve read that
> there was an equivalent of the -b option that ocamlrun uses, but I couldn’t
> find any subsequent information on it.
>
> Thanks!
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
next prev parent reply other threads:[~2010-03-29 20:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AcrPdCfVEZxg80SNSyKrkuUzJ6BqJg==>
2010-03-29 19:15 ` C. Fr
2010-03-29 20:58 ` Yoann Padioleau [this message]
2010-03-29 22:45 ` [Caml-list] " Jake Donham
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=3D028BE7-D934-40EF-803E-76A514B968F3@wanadoo.fr \
--to=padator@wanadoo.fr \
--cc=caml-list@yquem.inria.fr \
--cc=newsgroups.fr@gmail.com \
/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