Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Line number for index out of bounds
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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:

It statically finds uncaught exceptions in your code.

Alan Falloon