Allow re-running a program
|Reported by:||bonefish||Owned by:||anevilyak|
|Has a Patch:||no||Platform:||All|
When the debugged program quits, it is sometimes rather inconvenient that Debugger immediately wants to quit as well. In some cases the program quitting was unexpected (e.g. an uncaught exception or
exit() while stepping over a function call). In such cases one often wants to set a breakpoint at the last location and re-run the program. Since the quit alert is modal, one is forced to quit, restart debugger, find the code location, set the breakpoint, and run again. This is rather inconvenient.
A somewhat similar situation is when one has stepped over a function call that did something unexpected and one wants to run the program again, this time stepping into the function. This is not quite as inconvenient, since one can set the breakpoint first, then quit and restart debugger, and run the program again, but a few user actions could be saved anyway.
In IDEs and other debuggers one usually has a mode where the program doesn't run/isn't loaded (yet), but one can still set breakpoints. That would be nice for Debugger as well.