This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
 BUILT-IN MATHEMATICA SYMBOL Tutorials »| See Also »| More About »

# TracePrint

 TracePrint[expr]prints all expressions used in the evaluation of expr. TracePrintincludes only those expressions which match form. TracePrintincludes all evaluations which use transformation rules associated with the symbol s.
• TracePrint indents its output in correspondence with the nesting levels for lists generated by Trace.
• The indentation is done using the print form defined for the object Indent[d].
• TracePrint prints the forms of expressions before any of their elements are evaluated.
• TracePrint[expr] returns the result of evaluating expr.
Print all expressions used in evaluation of an expression:
A recursive definition for finding Fibonacci numbers:
Show all additions of positive integers:
Print all expressions used in evaluation of an expression:
 Out[1]=

A recursive definition for finding Fibonacci numbers:
Show all additions of positive integers:
 Out[2]=
New in 2