Chapter 9: Debugger Commands
The Breakpt Instr command sets an instruction breakpoint at a specified
memory location (< addr> ) or range (< addr> ..< addr> ). The instruction
breakpoint halts program execution each time the target program attempts to
execute an instruction at the specified memory location(s). If you specify a
range, the debugger sets breakpoints on the first byte of each instruction
within the specified range or (in high-level mode) the first instruction of each
line within the range.
If you set a breakpoint for an overloaded C+ + function, the debugger will ask
you to choose which definition of the function to use. You can also specify the
argument type of the function definition in parentheses after the function
name in the Breakpt Instr command.
You can attach a macro to a breakpoint using the optional < macro_call>
parameter. See the "Using Macros and Command Files" chapter.
The debugger performs the following actions when it encounters an
Suspends program execution before the program executes the instruction
at the breakpoint address.
Executes a macro (if you attached one when you set the breakpoint).
Depending on the macro return value, the debugger does one of the
– If the macro return value is true (nonzero), the debugger resumes
execution starting at the instruction where the break occurred. No
breakpoint information is displayed.