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