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
Seeking exception source
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-08 (09:07)
From: Nicolas Cannasse <ncannasse@m...>
Subject: Re: [Caml-list] Seeking exception source
>I am occasionally annoyed by Not_found propagating to my
> top level function .. meaning the error could be anywhere
> at all in my program.

At that time the best is to run your program in bytecode with debug infos 
using ocamlrun -b so you'll get full backtrace informations. It would be 
better for such debug informations (not all the types but only the 
bytecode -> source positions) to be included by default, and always have 
backtrace turned on.

Nicolas Cannasse