This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
BUILT-IN MATHEMATICA SYMBOLTutorials »|See Also »

TraceOriginal

TraceOriginal
is an option for Trace and related functions which specifies whether to test the form of each expression before its head and arguments are evaluated.
  • With the default TraceOriginal->False, the forms of expressions generated during an evaluation are tested only after their head and arguments have been evaluated. In addition, evaluation chains for expressions which do not change under evaluation are not included.
  • With TraceOriginal->True, the forms before evaluation of the head and arguments are also tested, and evaluation chains for expressions which do not change under evaluation are included.
Trace evaluation of an expression showing evaluation chains for expressions that change:
Show evaluation chains even for expressions that do not change:
Trace evaluation of an expression showing evaluation chains for expressions that change:
In[1]:=
Click for copyable input
Out[1]=
Show evaluation chains even for expressions that do not change:
In[2]:=
Click for copyable input
Out[2]=
New in 2