C and C++ SoftBench User's Guide

Using SoftBench Debugger
Understanding the Operation of Your Program
Chapter 7188
Understanding 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
189.
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
“Setting and Using Watchpoints” on page 199.
Traces Display notices when the program reaches certain
locations, such as procedure entry and exit. See
“Tracing Program Flow” on page 204.
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.