User manual

UM0036 Basic debugging features
Doc ID 7705 Rev 11 169/385
5.3.3 Program and STVD status bar display
Figure 109. Debugger status on status bar
The left panel of the status bar shows the state of the loaded program.
Run/Stop indicates whether the loaded program is running or has been stopped.
Halted the microcontroller is executing the "Halt" instruction.
WFI the microcontroller is executing the "WFI" instruction.
No Access (SWIM only) the microcontroller is either executing "Halt", "WFI",
"WFE" instructions or protected code. In this state no core resource is accessible
for the debugger.
The right panel of the status bar shows the state of the STVD debugger software.
Ready indicates the Core Debugger is available and will accept all user
commands.
Debugger indicates the Core Debugger is working. Only the user command Stop
Debug is accepted by the Core Debugger when working.
5.3.4 Monitoring execution in source windows
Program execution is followed in the source windows—meaning the Editor window(s) and
the Disassembly window. Whenever execution stops (for example at a breakpoint or after a
step command has been completed) the Editor and Disassembly windows are updated
automatically so that the new Program Counter (PC) location is visible.
Other STVD windows are also automatically updated to show the current values of variables
or register values for example.
5.4 Editor debug actions
To complement its Editing features the Editor’s debug actions provide a rapid graphic
method for controlling application execution and viewing the parameters resulting from
execution during the debugging phase of application development. Changes in variable
values can be traced with ease and related directly to their originating lines in the Assembler
or C-language source files.