Use the Watch window to monitor and track any variable value while debugging.
To view the current Watch list:
The Watch window displays a list of variable values that you wish to monitor in a debugging session.
Values display in red if the variables have been recently updated in the current execution context. If the variable is not defined in the currently executing subprogram, #### displays in the cell instead of a value.
Note: Only scalar values are valid as Watch values. For example:
If
TYPE REC IS RECORD (X integer, Y integer); MYREC REC;
then
MYREC.X is a valid Watch value.
MYREC.Y is a valid Watch value.
MYREC is not a valid Watch value.
Adding a Variable to the Watch List