Re: debug a long running time code

From: Callum Gibson (callum.gibson_at_db.com)
Date: Thu Oct 04 2001 - 01:24:34 BST


xuej2_at_mcmaster.ca writes:
}Can I set two breakpoints? So I can restart the code from the 1st point
}after I modify something in the 2nd point.

Hard to say without knowing exactly what your code is doing. You can do
things like set variables on the fly (in breakpoints) so providing you
can pre set all the variables so that the program was in the same state
as it is after an hour of running, you could potentially cut lots of
time off your execution. e.g. if you're in a large loop, you could break
and set the loop index variable forward to near the value when the bug
occurs.

    C

(c)2001 Callum Gibson                       callum.gibson_at_db.com
Global Markets IT, Deutsche Bank, Australia       61 2 9258 1620
### The opinions in this message are mine and not Deutsche's ###


This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:34 GMT