stack

Prints the call stack.

Syntax
stack [num_frames] [-default]
Examples

The following table lists and defines examples of the stack command.

Table 1. stack Command-line debugger command - Examples
Command Description
stack Prints the entire call stack unless limited with stack -default.
stack 6 Prints the 6 innermost call stack levels.
stack -6 Prints the 6 outermost call stack levels.
stack 6 -default Limits the number of stack frames shown to the 6 innermost levels.
stack -default Removes the stack frame limit.