*settrace*

(*settrace* variant [seconds])

The *settrace* function sets the mode for tracing of Lisp routines and functions.

The integer value variant may be combined (as follows):

0 No trace
1 Display allocated memory
8 Display function that caused an error
16 Display in case of an error all expressions up to function that caused the error
32 Display any Lisp expression evaluated
32+64 Display any Lisp expression evaluated (each line of code) needs to be confirmed by pressing any key
32+128 Display any Lisp expression evaluated. Halts at the end of a line for a certain time specified by the argument seconds. The default value is 5 seconds.

Note: As soon as protected Lisp files are loaded, the *settrace* function does not work (by intention). When writing your own programs or when porting you should avoid loading protected Lisp files.

Related Functions

trace, untrace