Using SoftBench Debugger
Setting and Using Watchpoints
data being watched. Complete watchpoints can be hidden by selecting the ▼ button next to the watchpoint. Select the button again (which is now >) to redisplay the watchpoint.
Individual elements in a watchpoint (such as some elements in an array) can be hidden by selecting them and selecting "Selected
Compound objects (such as arrays or structures) can be "collapsed" to simplify the display, either by
Changing Active / Suspend Status
To modify the watchpoint, choose "Watchpoint
To change the Active / Suspend status of a watchpoint, use the "Data Watchpoints Set/Change" window. You can also activate or suspend all watchpoints by selecting the Activate All or Suspend All buttons in the "Data Watchpoints Set/Change" window, or by choosing the "Watch: Suspend All" or "Watch: Activate All" menu selections.
Changing Verbose / Silent Status
By default, SoftBench Debugger reports the information about a watchpoint in the Debugger Output Area when it occurs. You control this reporting ability by the Verbose status. If you do not want the watchpoint information reported, in the "Data Watchpoints Set/Change" window, select the "❍ Silent" radio button, and select OK. Select the "❍ Verbose" radio button and select OK to
When you no longer want SoftBench Debugger to monitor your variables, you can clear the watchpoint. Select "Watchpoint
1. Choose "Watch: Show…" to display all current watchpoints.
202 | Chapter 7 |