13.1.6. The Call Stack and Locals

A call stack is maintained for each processor in your development platform. If you are debugging multithreaded applications, a thread stack is also maintained.

As a program function is called, it is added to the call stack. Similarly, as a function completes execution and returns control normally, it is removed from the call stack. The call stack, therefore, contains details of all functions that have been called but have not yet completed execution.

You can view the call stack with the Call Stack view.

In addition, you can view any local variables, static variables, and C++ this objects that are in scope with the Locals view.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N