Using SoftBench Debugger
Understanding the Operation of Your ProgramUnderstanding the Operation of Your Program
SoftBench Debugger supports four different monitors to help you understand the operation of your program.
Breakpoints | Cause your program to stop executing at a specified |
| location, and return control to SoftBench Debugger. |
| Breakpoints can be used to examine the status of the |
| program when a certain line executes one or more |
| times. See “Setting and Using Breakpoints” on page |
| |
Watchpoints | Monitor and display the values of specified variables as |
| the program executes. Use watchpoints when you need |
| to determine when a variable changes value. See |
| |
Traces | Display notices when the program reaches certain |
| locations, such as procedure entry and exit. See |
|
Signals/ Intercepts Detect events such as UNIX signals. See “Handling Signals and Events” on page 214.
Each form of monitor is useful in different situations, and monitors are often useful when used together. The following sections describe the use of each monitor.
188 | Chapter 7 |