User`s guide

70
Chapter 6: Controlling Program Execution
and watch until it changes. If expression1 is not of type
pointer, look at the 32 bits at that address (assume the
expression evaluates to an address).
when [expression1|variable] at line if expression2 {command-list}
Checks if the value of the variable has changed each time
the line is executed. If the value has changed and the
expression is true, executes the command list.
If expression1 is of type pointer, look at the data pointed to
and watch until it changes. If expression1 is not of type
pointer, look at the 32 bits at that address (assume the
expression evaluates to an address).
when [expression1|variable] in procedure if expression2 {command-
list}
Checks if the value of variable has changed at each source
line of the given procedure. If the value has changed and the
expression is true, executes the command list.
If expression1 is of type pointer, look at the data pointed to
and watch until it changes. If expression1 is not of type
pointer, look at the 32 bits at that address (assume the
expression evaluates to an address).
Managing Breakpoints, Traces, and Conditional Commands
dbx provides commands that allow you to disable, enable, delete, and
examine the status of the breakpoints, traces, and conditional commands
that you set in your programs.
Each breakpoint, trace, and conditional command is assigned a number
when you create it. Use these numbers as identifiers in the various
commands provided for manipulating these debugging controls.