English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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-06 (14:39)
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:


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