All Manuals > LispWorks Editor User Guide > 4 Editing Lisp Programs > 4.3 Functions and definitions

NextPrevUpTopContentsIndex

4.3.3 Tracing functions

The commands described in this section use the Common Lisp trace facility. Note that you can switch tracing on and off using dspec:tracing-enabled-p - see the LispWorks User Guide and Reference Manual for details of this.

Trace Function

Editor Command

Argument: function
Key sequence: None

This command traces function . The symbol under the current point is offered as a default value for function . A prefix argument automatically causes this default value to be used.

Trace Function Inside Definition

Editor Command

Argument: function
Key sequence: None

This command is like Trace Function, except that function is only traced within the definition that contains the cursor.

Untrace Function

Editor Command

Argument: function
Key sequence: None

This command untraces function . The symbol under the current point is offered as a default value for function . A prefix argument automatically causes this default value to be used.

Trace Definition

Editor Command

Argument: None
Key sequence: None

This command traces the function defined by the current top-level form.

Trace Definition Inside Definition

Editor Command

Argument: None
Key sequence: None

This command is like Trace Definition, except that with a non-nil prefix argument, prompts for a symbol to trace. Also, it prompts for a symbol naming a second function, and traces the first only inside this.

Untrace Definition

Editor Command

Argument: None
Key sequence: None

This command untraces the function defined by the current top-level form.

Break Function

Editor Command

Argument: function
Key sequence: None

This command is like Trace Function but the trace is with :break t so that when function is entered, the debugger is entered.

Break Function on Exit

Editor Command

Argument: function
Key sequence: None

This command is like Trace Function but the trace is with :break-on-exit t so that when a called to function exits, the debugger is entered.

Break Definition

Editor Command

Argument: None
Key sequence: None

Like Trace Definition but the definition is traced with :break t .

Break Definition on Exit

Editor Command

Argument: None
Key sequence: None

Like Trace Definition but the definition is traced with :break-on-exit t .


LispWorks Editor User Guide (Macintosh version) - 3 May 2011

NextPrevUpTopContentsIndex