C and C++ SoftBench User's Guide

Using SoftBench Debugger
Setting and Using Watchpoints
Chapter 7202
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 -> Hide". Select
"Watchpoint -> Show All Hidden Values" to redisplay them.
Compound objects (such as arrays or structures) can be "collapsed" to
simplify the display, either by double-clicking the beginning of the
compound object, or by selecting it and choosing "Selected -> Collapse".
Double-click the collapsed object, or choose "Selected -> Expand", to
display the entire object.
Changing Active / Suspend Status
To modify the watchpoint, choose "Watchpoint -> Change…". SoftBench
Debugger displays the "Data Watchpoints Set/Change" window,
allowing you to modify all editable attributes of the 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, orbychoosingthe"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 re-enable the
reporting.
Clearing a Watchpoint
When you no longer want SoftBench Debugger to monitor your variables,
you can clear the watchpoint. Select "Watchpoint -> Delete" on the
"Watchpoints Value Display" window. You can also use the
"Watchpoint Listing" dialog box:
1. Choose "Watch: Show" to display all current watchpoints.