C and C++ SoftBench User's Guide

Using SoftBench Debugger
Setting and Using Breakpoints
Chapter 7192
Using the Break Menu
The "Break" menu contains several entries that allow you to set a
breakpoint at the current PC location, or associated with an identifier
entered in the "()" input box.
For example, if you want to set a breakpoint on the entry of a procedure
named compute, you could enter compute in the "()" input box and
choose "Break: Set at Procedure Entry ( )".
Refer to Figure 7-6 to see the available choices. See SoftBench Online
Help for details on each choice.
Using the Breakpoint Set/Change Dialog Box
This method is very general, and can be used to set breakpoints in any
location with any allowable attributes. See Figure 7-7.
1. Choose "Break: Set…".
2. Choose the type of breakpoint you want, such as Proc, Location,
Class, and so on.
3. The area under the "Select Breakpoint Type" radio buttons
changes to reflect the information needed by that breakpoint type.
Enter the appropriate information.
4. Modify any other information as required. For example, you may
want to specify a DDE command to be executed when the breakpoint
occurs, or you may want the breakpoint to occur only after the
specified event happens a certain number of times.
5. When you have specified the information you want, select OK to create
the breakpoint.