Next Prev Up Top Contents Index

*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
USER 7 > (setq *trace-indent-width* 4
          *max-trace-indent* 50)
50 
USER 8 > (defun quad (a b c) (- (* b b) (* 4 a c)))
QUAD 
USER 9 > (trace quad *)
* 
USER 10 > (quad 4 3 14)
0 QUAD > (4 3 14)   
   1 * > (3 3)   
   1 * < (9)   
   1 * > (4 4 14)   
   1 * < (224) 
0 QUAD < (-215) 
-215 
Notes

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

See also

trace


LispWorks Reference Manual - 25 Jul 2003

Next Prev Up Top Contents Index