caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Cannasse" <ncannasse@motion-twin.com>
To: "skaller" <skaller@users.sourceforge.net>, <caml-list@inria.fr>
Subject: Re: [Caml-list] Seeking exception source
Date: Tue, 8 Nov 2005 18:06:57 +0900	[thread overview]
Message-ID: <001e01c5e443$c7259d40$0c05a8c0@PWarp> (raw)
In-Reply-To: <1131416033.23991.57.camel@rosella>

>I am occasionally annoyed by Not_found propagating to my
> top level function .. meaning the error could be anywhere
> at all in my program.

At that time the best is to run your program in bytecode with debug infos 
using ocamlrun -b so you'll get full backtrace informations. It would be 
better for such debug informations (not all the types but only the 
bytecode -> source positions) to be included by default, and always have 
backtrace turned on.

Nicolas Cannasse 


  parent reply	other threads:[~2005-11-08  9:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-08  2:13 skaller
2005-11-08  2:57 ` [Caml-list] " Jon Harrop
2005-11-08  9:06 ` Nicolas Cannasse [this message]
2005-11-08 10:30   ` Alessandro Baretta
2005-11-08 10:06     ` Nicolas Cannasse
2005-11-08 10:34       ` skaller

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='001e01c5e443$c7259d40$0c05a8c0@PWarp' \
    --to=ncannasse@motion-twin.com \
    --cc=caml-list@inria.fr \
    --cc=skaller@users.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).