Breakpoint commands

The debugger provides a number of commands for setting and removing breakpoints. A breakpoint is associated with an address. A breakpoint may also have a count n. The program will stop when the breakpoint is encountered for the n-th time. To set breakpoints in GUI mode, see Chapter 20, "Breakpoints window". The count is set by adding an @ followed by the count number after the breakpoint command, but before the command list. For example, the following command sets a breakpoint with a count of four:
b @4

In all of the two letter breakpoint commands, if the second character is uppercase (for example bU instead of bu), then the breakpoint is temporary instead of permanent.

All of the commands containing an argument [{cmds}] may take an optional list of commands that are executed when the breakpoint is hit. See "Command list".

Most of the breakpoint commands take an optional address expression which specifies the location of the breakpoint. If an address is not specified in a command it takes, the current line is used. See "Address expressions".

Breakpoint commands
B
b
bA
ba
be
bg
bI
bi
bif
bpload
bpsave
bpview
bR
br
bt
bU
bu
bX
bx

Related topic:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.