On Thursday 07 July 2016 16:03:24 Martin Frb wrote: > > This obviously could be improved by showing the current count, and have > a reset button. Or change the value into a count down, (but then it is > show initial and current value, and reset to initial)
MSEide shows the breakpoint count and has an editfield 'Ignore', see attachment. The program stops the first time after 'Ignore' times. Entering a value in 'Ignore' again skips 'Ignore' breakpoint events. 'Ignore' is especially useful if there is a crash in a function after many calls of the function. Set a breakpoint in code before the crash, set 'Ignore' to a big value so the program does not stop before the crash, run the program. When the crash happens check the 'Count' field, set 'Ignore' to 'Count'-1, run the program again, now the program stops at the breakpoint in the run which will crash and it is possible to check how the crash happens. Martin
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
