:inside
list-of-functions
The functions given in the argument to
:inside
should reference the traced function in their implementation. The traced function is then only traced in calls to any function in the list of functions, rather than in direct calls to itself.
fac2
, which calls
fac
, as follows:(defun fac2 (x)
(fac x))
fac
function, set the value of
:inside
to
fac2
.
fac
, and notice that no tracing information is produced.CL-USER 154 > (fac 3)
6
fac2
, and notice the tracing information.CL-USER 155 > (fac2 3)
0 FAC > (3)
1 FAC > (2)
2 FAC > (1)
2 FAC < (1)
1 FAC < (2)
0 FAC < (6)
LispWorks User Guide and Reference Manual - 21 Dec 2011