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.


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.


info stack [ n | -n] [full]

backtrace [ n | -n] [full]

where [ n | -n] [full]



Specifies n frames from the bottom of the call stack.


Specifies n frames from the top of the call stack.


Specifies the additional display of local variables.


Example 64. 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 0452J