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 When Expression Changes
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
To set a breakpoint when a symbol changes, enter a Breakpoint Set
(BP) command of the form
BP = symbol
To watch a memory range for changes, enter a BP command of the form
BP = symbol #range
The size of the range watched for changes is the <range>
multiplied by the size that the <symbol> represents. For example,
in the expression
BP = int_value #8
if int_value is 2-byte value, the watch range is 16 bytes.
Similarly, if int_array is an array of 10 integers, then
BP = int_array [0] #10
watches for changes in int_array, and
BP = int_array #10
watches for changes in the 200 bytes starting at the first element
of int_array.
See: ◄BP Command (location/expression changes)►
-♦-