HP WDB GUI 5.7 Reference Manual (September 2007)
Debugging with WDB GUI
Starting and Stopping the Debug Process
Chapter 3 31
To restart the debug process
1. On the Debug menu, click Restart.
2. Or, click the Restart button in the toolbar:
Stopping a debug session
The Stop Debugging command stops executing the current program and enables loading of a
new executable. The program is still loaded in the debugger, but no process is running. All
views except the Source view are cleared and initialized.
If the debugger is attached to an existing process, Stop Debugging detaches the process. After
it is detached, the process continues running independently and WDB no longer has any
control of the process.
To stop a debug session
1. On the Debug menu, click Stop Debugging.
2. Or, click the Stop Debugging button in the toolbar:
Pausing program execution
The Break Executioncommand pauses execution of the program running in the debugger.
Once the program is paused, you can continue debugging as if you had encountered a
breakpoint at that location.
To pause program execution
1. On the Debug menu, click Break Execution.
2. Or, click the Break Execution button in the toolbar:
Tips: Changing any debug settings will cause your executable to restart.