RealView
DebuggerThe Stack pane displays the contents of the run-time stack, starting at the current stack pointer location. The stack pointer (bottom of the stack) has SP displayed next to it. The frame pointer FP indicates the point from which the local variables and parameters for the current function are stored.
The first column displays the address, and the second column gives the value of the variable. As you step through your program, you can see the parameters and local variables for functions moving in and out of the stack. Click on a selected value to edit it in place. Changed values are displayed in blue.
When the debug target processor uses a
true Harvard architecture, for example, a DSP, a D
is appended to show that this is a data address. You must include the
letter if you specify such an address as the starting address.
Click
to display a drop-down
list of pane control
options:
Click
to display a menu of
options for the Stack pane.
Right-click on an address to see a context menu.
Click the following links to see pop-up descriptions of the options:
The second column shows the value. Right-click to see a context menu.
Click the following links to see pop-up descriptions of the options:
Set Start Address from Content
Changing a value in the stack might cause
your application program to perform incorrectly or stop completely.