Chapter 5: Viewing Code and Data
To monitor the value of a register
Variables in the monitor window are updated each time the debugger stops
executing the program. (The program is not considered to be "stopped" when
a breakpoint with an attached macro is encountered.)
Example
To monitor the value of variable 'current_temp':
Expression Monitor Value current_temp
To monitor the value of a register
• Monitor a register just as you would a variable.
Example
To monitor the value of register D2, enter "@D2" in the entry buffer and
select Display→Monitor ().
Or, using the command line, enter
Expression Monitor Value @D2.
To discontinue monitoring specified variables
• Select Delete Variable in the Monitor window pop-up menu.
Or:
• Using the command line, enter:
Expression Monitor Delete
Enter the number of the variable (shown in the monitor window) that should
no longer be monitored, and press the < Return> key.
164