Next: Information Commands, Previous: Debugger Policy Control, Up: Debugger

### 5.7 Exiting Commands

These commands get you out of the debugger.

— Debugger Command: toplevel

> Throw to top level.

— Debugger Command: restart [n]

> Invokes the nth restart case as displayed by the `error` command. If n is not specified, the available restart cases are reported.

— Debugger Command: continue

> Calls `continue` on the condition given to `debug`. If there is no restart case named continue, then an error is signaled.

— Debugger Command: abort

> Calls `abort` on the condition given to `debug`. This is useful for popping debug command loop levels or aborting to top level, as the case may be.

— Debugger Command: return value

> Returns value from the current stack frame. This command is available when the `debug` optimization quality is greater than both `speed` and `space`. Care must be taken that the value is of the same type as SBCL expects the stack frame to return.

— Debugger Command: restart-frame

> Restarts execution of the current stack frame. This command is available when the `debug` optimization quality is greater than both `speed` and `space` and when the frame is for is a global function. If the function is redefined in the debugger before the frame is restarted, the new function will be used.