Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Breakpoint Set (Summary)
◄Description► ◄Example► ◄Notes► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Command: Breakpoint Set (BP)
Syntax: BP [breakaddress] [=symbol [#range] |
[?expression] [,passcount][,"commands"]
Summary: Sets a breakpoint at the given address.
Arguments:
<breakaddress> An expression giving the address at which the
breakpoint is set. If omitted, sets a breakpoint
on the current line.
See: ◄Break and View Addresses►
◄BP Command (location)►
=<symbol> Breaks program execution when the value of
<symbol> changes. If <breakaddress> is given,
the <symbol> is checked for changes only at that
address.
#<range> Watches all addresses in the given range for
changes.
See: ◄BP Command (expression changes)►
◄BP Command (location/expression changes)►
?<expression> Breaks program execution when <expression> becomes
true (nonzero). If <breakaddress> is given, the
breakpoint <expression> is evaluated only at that
address.
See: ◄Expressions in CodeView►
◄BP Command (expression=true)►
◄BP Command (location/expression=true)►
,<passcount> Specifies the first time the breakpoint is to be
taken. For example, if <passcount> is 5, the
breakpoint will be ignored the first four times
it is encountered, and taken the fifth time.
,"<commands>" A list of command-window commands to be executed
when the breakpoint is encountered. The <commands>
must be enclosed in quotation marks (" ") and
separated by semicolons (;).
See: ◄Command-Window Commands►
See also: ◄Watch Menu: Set Breakpoint Command►
◄Use with Thread Command►
-♦-