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.
BP Command: Break At Location When Expression Changes
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
You can set a breakpoint if a symbol or memory range changes when
the program reaches a given location. To break at a location
when a symbol changes, enter a Breakpoint Set (BP) command of the
form
BP breakaddress = symbol
where <breakaddress> gives the breakpoint location and <symbol> is
the name of the symbol watched for changes.
To break at a location when a memory range changes, enter a BP
command of the form
BP breakaddress = symbol #range
where <breakaddress> gives the breakpoint location and <range> is
the range watched for changes. The size of this range is the
<range> multiplied by the size that the <symbol> represents. For
example, in the expression
BP = DS:0000 int_value #8
if int_value is 2-byte value, the watch range is 16 bytes.
See: ◄Breakpoint and View Addresses►
◄BP Command (expression changes)►
-♦-