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 /

TraceBackward

FilledSmallSquare TraceBackward is an option for Trace and related functions which specifies whether to include preceding expressions on the evaluation chain that contains the pattern form sought.

FilledSmallSquare TraceBackward -> True includes the first expression on the evaluation chain that contains form.

FilledSmallSquare TraceBackward -> All includes all expressions before form on the evaluation chain that contains form.

FilledSmallSquare TraceBackward allows you to see the previous forms that an expression had during an evaluation.

FilledSmallSquare See Section 2.6.11.

FilledSmallSquare See also: StackComplete.

FilledSmallSquare New in Version 2.

Further Examples