How To...
How to Work on Variables
205
Microcontrollers Debugger Manual
STOPPED (STOP) in the status line indicates that the application is stopped by a step out
function.
If the application was previously stopped in a function, a Step Out stops the application
on the source instruction following the function invocation.
The display in the Assembly component is always synchronized with the display in the
Source component. The highlighted instruction in the Assembly component is the first
assembler instruction generated by the highlighted instruction in the Source component.
Elements from Register, Memory or Data components that are displayed in red are the
register, memory position, local or global variables, and which values have changed since
the Step Out was executed.

Step on Assembly Level

The Debugger provides two ways of stepping to the next assembler instruction:
Choose Run > Assembly Step
Click the Assembly Step icon from the debugger tool bar
TRACED in the status line indicates that the application is stopped by an assembly step
function.
The application stops at the next assembler instruction.
The display in the Source component is always synchronized with the display in the
Assembly component. The highlighted instruction in the Source Component is the source
instruction that has generated the highlighted instruction in the Assembly component.
Elements from Register, Memory or Data components that are displayed in red are the
register, memory position, local or global variables, and which values have changed
during execution of the assembler instruction.

How to Work on Variables

This section describes the different methods to work on variables.

Display Local Variable from a Function

The Debugger provides two ways to see the list of local variables defined in a function:
Drag and Drop
Drag a function name from the Procedure component to a Data component with
attribute local.