User manual

UM0036 Basic debugging features
Doc ID 7705 Rev 11 171/385
Watch pop-up
When a variable is selected in the active Editor window (the mouse pointer paused on a
variable identifier-string delimited by white space or other usual separators, or on any
highlighted variable identifier), a tool-tip banner is activated, displaying the current numeric
value of the variable at this program location, if known.
This feature can be enabled/disabled from in the Edit/Debug tab of the Options window
(accessible by selecting Tools>Options from the main menu).
Figure 110. Watch pop-up for variables
Run to cursor
Runs the program from the current Program Counter
location to the executable code corresponding to the
cursor's current position in the program text. If a breakpoint
is encountered before the cursor position, the execution
stops at the breakpoint.
Set next PC (Program Counter)
When the cursor is positioned on a source-code statement
in an Editor window, or on a line in the Disassembly
window, the command Set Next PC moves the Program
Counter from its current location to this new location. This
is done without running the program (unlike the Run to
Cursor command, described above). Debug actions can
then be carried out with the new PC value.
Table 61. Editor contextual menu commands (continued)
Command Description