From: Alan Falloon <Al.Falloon@synopsys.COM>
To: Andries Hekstra <andries.hekstra@philips.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Line number for index out of bounds
Date: Tue, 07 Mar 2006 10:55:21 -0500 [thread overview]
Message-ID: <440DACE9.2070601@synopsys.com> (raw)
In-Reply-To: <OF69D879A9.96F51C70-ONC1257129.003A8688-C1257129.003B1EBA@philips.com>
Andries Hekstra wrote:
> This is better than a C++ program giving a segmentation fault, as one
> now knows the reason of the crash.
> Of course, I am very curious in which line number of the program this
> exception occurs.
> Is there any way to get hold of this line number?
Maybe ocamlexc can help:
http://caml.inria.fr/pub/old_caml_site/ocamlexc/ocamlexc.htm
It statically finds uncaught exceptions in your code.
--
Alan Falloon
next prev parent reply other threads:[~2006-03-07 15:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 10:44 Andries Hekstra
2006-03-06 11:14 ` [Caml-list] " Richard Jones
2006-03-06 14:39 ` Markus Mottl
2006-03-06 19:08 ` Andries Hekstra
2006-03-06 19:53 ` Richard Jones
2006-03-12 10:17 ` Martin Jambon
2006-03-12 11:02 ` Richard Jones
2006-03-11 13:26 ` [Caml-list] Line number for index out of bounds / Exceptions for left hand side of assignments Andries Hekstra
2006-03-07 15:55 ` Alan Falloon [this message]
2006-03-06 13:11 [Caml-list] Line number for index out of bounds Jonathan Harrop
2006-03-07 9:39 ` Nicolas Pouillard
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=440DACE9.2070601@synopsys.com \
--to=al.falloon@synopsys.com \
--cc=andries.hekstra@philips.com \
--cc=caml-list@yquem.inria.fr \
/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