LispWorks User Guide and Reference Manual > 32 The HCL Package

NextPrevUpTopContentsIndex

*trace-indent-width*

Variable
Summary

The amount of extra indentation in the trace output for each level of nesting.

Package

hcl

Initial Value

2

Description

*trace-indent-width* is the extra amount by which the traced output for function calls is indented upon entering a deeper level of nesting (i.e. a traced call from a function that is itself traced). If it is 0 then no indentation occurs.

Example
CL-USER 1 > (setq *trace-indent-width* 4
                  *max-trace-indent* 50)
50
 
CL-USER 2 > (defun quad (a b c) (- (* b b) (* 4 a c)))
QUAD
 
CL-USER 3 > (trace quad *)
(QUAD *)
 
CL-USER 4 > (quad 4 3 14)
0 QUAD > ...
  >> A : 4
  >> B : 3
  >> C : 14
    1 * > ...
      >> SYSTEM::ARGS : (3 3)
    1 * < ...
      << VALUE-0 : 9
    1 * > ...
      >> SYSTEM::ARGS : (4 4 14)
    1 * < ...
      << VALUE-0 : 224
0 QUAD < ...
  << VALUE-0 : -215
-215
Notes

*trace-indent-width* is an extension to Common Lisp.

See also

trace


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex