Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Re: Debuggers (was Jihad)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Thorsten Ohl <ohl@h...>
Subject: [Caml-list] debugger backtracking/checkpoints
Chris Hecker writes:

> do people find the backtracking thing useful in everyday debugging?

I prefer the toplevel to the debugger in everyday work.  However, the
backtracking debugger is extremely useful for finding the cause for
exceptional conditions that occur in long running programs for
specific inputs.

Not having to figure out a conditional break point that will stop the
program a the right time ist very convienent.  Just run the program to
the `failwith "panic: how in the world did I get here?"'  and step
back from there ...
-- 
Thorsten Ohl, Physics Department, TU Darmstadt -- ohl@hep.tu-darmstadt.de
http://heplix.ikp.physik.tu-darmstadt.de/~ohl/ [<=== PGP public key here]
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr