All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

*trace-print-length* Variable

Summary

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

Package

hcl

Initial Value

100

Description

The variable *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.

Examples
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 - 01 Dec 2021 19:30:35