index
previous
next
WATCH WINDOW
This window has two purposes
-
It behaves as a data labels lookup, allowing quick symbolic reference to
user defined assembly variables (general purpose registers)
-
It allows data watch points to be set
Selecting a label multple times causes cycling between three different
types of watch point and no watch point at all. The three categories are:
-
modified - any access (read or write) of the register
-
changed - only accesses that cause a change in the contents of the
register
-
write - any attempt to write to the register
Watch points are similar to break points. They cause the simulator
to trap accesses to data locations. Say for instance you had a data location
that was occationally being set to an unexpected value. You could either
trace your code step by step until you found the reason for the change
or you could set a watch point on the data location and inspect the code
when the simulator traps the access to the data location.