Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] Line number for index out of bounds
On 3/6/06, Richard Jones <rich@annexia.org> wrote:
>
> * Hack ocamlopt to be able to print exceptions properly :-)
>

We have already developed a patch for the OCaml-compiler to generate
function call backtraces for native code programs and submitted it to the
OCaml-bugtracker in the hope to get it included in a future release.
Function call backtraces are different from stack backtraces, sometimes
more, sometimes less useful.  They are usually sufficient for tracking down
the source of exceptions.

In case you feel like running a patched runtime, look up issue 0003885 on
the bugtracker, which contains an attachment with the patch for OCaml 3.09:
http://caml.inria.fr/mantis/view.php?id=3885

Regards,
Markus

--
Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com