Turns off the Common Lisp tracing facility on the named functions.
common-lisp
untrace {untracing-desc}* => untrace-list
untracing-desc ::= function-name | function-dspec
function-name⇩ |
A symbol whose symbol-function is to be untraced, or a setf function name. Functions, macros and generic functions may be specified this way. |
function-dspec⇩ |
A function-dspec as described in 7.5.1 Function dspecs, which apart from symbols, can specify methods, setf functions and subfunctions. |
untrace-list |
A list of untracing-descs. |
The macro untrace
stops the tracing of functions (see 5 The Trace Facility). If it is called with no arguments then the tracing of all currently traced functions is stopped. If it is called with one or more arguments, then the tracing of the functions that are specified by function-name or function-dspec is stopped. A warning is given if untrace
is called with a function that is not being traced.
untrace
returns the list of untracing-descs that it stopped tracing.
USER 12 > (progn (untrace) (trace + - / *)) *
USER 13 > (+ 2 3) 0 + > (2 3) 0 + < (5) 5
USER 14 > (untrace + -) (* |/|)
USER 15 > (+ 2 3) 5
To untrace a method:
(untrace (clos:method foo (t)))
untrace in the Common Lisp HyperSpec
5 The Trace Facility
trace
untrace-new-instances-on-access
untrace-on-access
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:30