Stack Commands

To display information about the stack commands available in MDB, type help backtrace. The following table provides additional information for these commands.

Table 1. Stack Commands
Command Description
Backtrace Print a backtrace of the entire stack, one line per frame for all frames in the stack.

Command format:

Backtrace [full] [<n, -n>]

  • full – prints the values of local variables
  • n – prints the innermost n frames
  • -n – prints the outermost n frames