Browse thread
Line number for index out of bounds
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-03-07 (15:55) |
From: | Alan Falloon <Al.Falloon@s...> |
Subject: | Re: [Caml-list] Line number for index out of bounds |
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