Prints the call stack.
stack [num_frames] [-default]
The following table lists and defines examples of the stack command.
| 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. |