User manual
UM0036 Basic debugging features
Doc ID 7705 Rev 11 189/385
Figure 134. Call stack window and interaction with other debug windows
Now, if you want to step backwards through the call stack, entry by entry, simply double-click
on the each entry of interest. Remember that they are numbered backwards in time,
meaning that the larger the number, the farther back in the stack you are.
In Figure 135, we decided to step backward in the call stack to look at the function call made
just before we reached the current PC position. By double-clicking on entry #1, a Call Stack
Indicator will appear in the Editor window to indicate where the call was made in the source
code. If the Disassembly window is open, a Call Stack Indicator will highlight the address of
the instruction after the call. The Local Variables window shows the values of the variables
as they were at the moment the selected function call was performed.