1.3.6 backtrace, info stack, where

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 1-9 Examples

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
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.