Using SoftBench Debugger
Setting and Using Breakpoints
specified breakpoint.
Changing Active / Suspend StatusBy default, a new breakpoint is Active. If you want to deactivate a breakpoint without deleting it, you can Suspend the breakpoint. This may be useful if, for example, you want a breakpoint to occur only in certain circumstances. You could Suspend the breakpoint, proceed with debugging your program, and then
SoftBench Debugger provides several ways to change the status of a breakpoint:
•Click the middle mouse button on the Breakpoint Annotation in the Annotation Margin. This toggles the breakpoint status. The Breakpoint Annotation changes to reflect the new status. A suspended breakpoint has a slash through its Breakpoint Annotation.
•Modify a breakpoint (by
•Select a breakpoint in the "Break: Show…" dialog box and select the
Active or Suspend button.
•Choose "Break: Suspend All" or "Break: Activate All" to activate or suspend ALL breakpoints in your program.
Changing Verbose / Silent StatusBy default, SoftBench Debugger reports the address of a breakpoint in the Debugger Output Area when it occurs. You control this reporting ability by the Verbose status. If you do not want the breakpoint address reported, modify a breakpoint (by
When you no longer want your program to stop at a breakpoint, you can clear the breakpoint. If you can see the breakpoint you want to clear in
194 | Chapter 7 |