This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Programming / Debugging /

TracePrint

FilledSmallSquare TracePrint[expr] prints all expressions used in the evaluation of expr.

FilledSmallSquare TracePrint[expr, form] includes only those expressions which match form.

FilledSmallSquare TracePrint[expr, s] includes all evaluations which use transformation rules associated with the symbol s.

FilledSmallSquare See notes for Trace.

FilledSmallSquare TracePrint indents its output in correspondence with the nesting levels for lists generated by Trace.

FilledSmallSquare The indentation is done using the print form defined for the object Indent[d].

FilledSmallSquare TracePrint prints the forms of expressions before any of their elements are evaluated.

FilledSmallSquare TracePrint does not support the TraceBackward option of Trace.

FilledSmallSquare TracePrint yields only the forward part of the output specified by the option setting TraceAbove -> All.

FilledSmallSquare TracePrint[expr] returns the result of evaluating expr.

FilledSmallSquare See Section 2.6.11.

FilledSmallSquare New in Version 2.

Further Examples