LispWorks User Guide and Reference Manual > 3 The Debugger

NextPrevUpTopContentsIndex

3.5 Debugger control variables

common-lisp:*debug-io*

Variable

The value of this variable is the stream which the debugger uses for its input and output.

dbg:*debug-print-length*

Variable

The value to which common-lisp:*print-length* is bound during output from the debugger.

dbg:*debug-print-level*

Variable

The value to which common-lisp:*print-level* is bound during output from the debugger.

dbg:*hidden-packages*

Variable

This variable should be bound to a list of packages. The debugger suppresses symbols from these packages (so, for example, it does not display call frames for functions in these packages).

dbg:*print-binding-frames*

Variable

This variable controls whether binding frames are displayed by the debugger. The initial value is nil . The value can be set directly or by calling dbg:set-debugger-options which may be more convenient.

dbg:*print-catch-frames*

Variable

This variable controls whether catch frames are displayed by the debugger. The initial value is nil . The value can be set directly or by calling dbg:set-debugger-options which may be more convenient.

dbg:*print-handler-frames*

Variable

This variable controls whether handler frames are displayed by the debugger. The initial value is nil . The value can be set directly or by calling dbg:set-debugger-options which may be more convenient.

dbg:*print-restart-frames*

Variable

This variable controls whether restart frames are displayed by the debugger. The initial value is nil . The value can be set directly or by calling dbg:set-debugger-options which may be more convenient.

dbg:*print-non-symbol-frames*

Variable

This variable controls whether non-symbol frames are displayed by the debugger. The initial value is nil . The value can be set directly or by calling dbg:set-debugger-options which may be more convenient.

dbg:set-debugger-options

Function

dbg:set-debugger-options &key all bindings catchers hidden non-symbol handler restarts invisible

A call to set-debugger-options allows you to set the debugger printing control variables without having the inconvenience of setting each variable individually with a call to setq and without having to remember the names for each of the variables.

The keyword arguments refer to the debugger printing control variables as described below:

:all -- affects the state of the :all command.

:bindings -- dbg:*print-binding-frames*

:catchers -- dbg:*print-catch-frames*

:hidden -- dbg:*hidden-packages*

:non-symbol -- dbg:*print-non-symbol-frames*

:handler -- dbg:*print-handler-frames*

:restarts -- dbg:*print-restart-frames*

:invisible -- dbg:*print-invisible-frames*

Note that the call frames are always displayed, so there is no option to control that.


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex