Previous: Debug Mode, Up: Debugging

### 13.5 Call Stack

— Loadable Function: [stack, idx] dbstack (n)

> Print or return current stack information. With optional argument n, omit the n innermost stack frames.

> See also: dbclear, dbstatus, dbstop.

— Loadable Function: dbup (n)

> In debugging mode, move up the execution stack n frames. If n is omitted, move up one frame.

> See also: dbstack.

— Loadable Function: dbdown (n)

> In debugging mode, move down the execution stack n frames. If n is omitted, move down one frame.

> See also: dbstack.