Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Thank you for backtraces!
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gerd Stolpmann <gerd@g...>
Subject: [Caml-list] Thank you for backtraces!
Hi list,

The current CVS version of ocaml contains backtraces; example:

let f x = raise Not_found;;

try
  f 3
with
    Not_found as ex ->
      raise ex
;;

$ ocamlc -o t -g t.ml
$ OCAMLRUNPARAM=b t
Fatal error: uncaught exception Not_found
Raised at module T, character 25
Called from module T, character 38
Re-raised at module T, character 81

This feature will really help developers a lot. Thanks to the Caml team!

Gerd
-- 
----------------------------------------------------------------------------
Gerd Stolpmann      Telefon: +49 6151 997705 (privat)
Viktoriastr. 100             
64293 Darmstadt     EMail:   gerd@gerd-stolpmann.de
Germany                     
----------------------------------------------------------------------------
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr