User manual

Debugging with the Simulator Ride7 for ARM
- 20 -
3.6 Viewing the Stack
You can view the stack by clinking “View”->”Debug Windows” ->”View Call Stack”. This will
open this window:
It shows the list of functions currently in the stack, allowing you to trace the calls up to the main
function or the current Interrupt Service Routine. Double-click on a function in the stack view to
place the cursor in the associated source file. There are a few restrictions for using this view:
It can only be used without optimization. (level zero)
It needs debugging information for all the functions in the stack.
It does not work during functions prologue and epilogue. (i.e. the very beginning and end
of functions)
It does not work properly when the current PC is not on the beginning of a C line. (after a
stop or assembler step)