info stack, backtrace, where

This command displays a numbered list of the calling stack frames including the function names and source line numbers. You can use set backtrace to control the default call stack display settings.

Note

Each frame is assigned a number that increases from the bottom frame (zero) through the call stack to the top frame that is the start of the application.

Show/hideSyntax

info stack [ n | -n] [full]

backtrace [ n | -n] [full]

where [ n | -n] [full]

Where:

n

Specifies n frames from the bottom of the call stack.

-n

Specifies n frames from the top of the call stack.

full

Specifies the additional display of local variables.

Show/hideExample

Example 66. info stack, backtrace, where

info stack                    # Display call stack
backtrace -5                  # Display top 5 frames of the call stack
backtrace full                # Display call stack including local variables
where                         # Display call stack

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452L
Non-ConfidentialID100912