Next Prev Up Top Contents Index

*trace-print-level*

Variable
Summary

The depth to which nested objects are printed in trace output.

Package

hcl

Initial value

5

Description

*trace-print-level* controls the depth to which nested objects are printed during output from tracing. If its value is a positive integer then components at or above that level are suppressed. By definition an object to be printed is considered to be at level 0, its components are at level 1, their subcomponents are at level 2, and so on.

*print-level* is bound to the value of *trace-print-level* while printing tracing information. If *trace-print-level* is nil then objects are printed without regard to depth.

Examples
USER 8 > (trace append)
APPEND 
USER 9 > (dotimes (i 10) (setq li (if (zerop i)
                                 nil
                               (list i li))))
NIL 
USER 10 > (append li '(a b))
0 APPEND > ((9 (8 (7 (6 #)))) (A B)) 
0 APPEND < ((9 (8 (7 (6 #))) A B)) 
(9 (8 (7 (6 (5 (4 (3 (2 (1 NIL)))))))) A B) 
Notes

*trace-print-level* is an extension to Common Lisp.

See also

trace


LispWorks Reference Manual - 13 Jun 2003

Next Prev Up Top Contents Index