LispWorks User Guide and Reference Manual > 32 The HCL Package

NextPrevUpTopContentsIndex

*trace-print-length*

Variable
Summary

The number of components of an object that are printed in trace output.

Package

hcl

Initial Value

100

Description

*trace-print-length* controls the number of components of an object which are printed during output from tracing. If its value is a positive integer then the first *trace-print-length* components are printed.

*print-length* is bound to the value of *trace-print-length* while printing tracing information. If *trace-print-length* is nil then all the components of the object are printed.

Example
USER 5 > (trace append) 
APPEND 
USER 6 > (setq *trace-print-length* 3)
3 
USER 7 > (dotimes (i 10) (setq li (if (zerop i)
                                  nil
                             (cons i li))))
NIL 
USER 8 > (append li '(a b))
0 APPEND > ((9 8 7 ...) (A B)) 
0 APPEND < ((9 8 7 ...)) 
(9 8 7 6 5 4 3 2 1 A B)            
Notes

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

See also

trace


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex