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


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

- TraceBackward->True includes the first expression on the evaluation chain that contains form.
- TraceBackward->All includes all expressions before form on the evaluation chain that contains form.
- TraceBackward allows you to see the previous forms that an expression had during an evaluation.
See Also
Tech Notes
Related Workflows
- Get a Stack Trace
History
Introduced in 1991 (2.0)
Text
Wolfram Research (1991), TraceBackward, Wolfram Language function, https://reference.wolfram.com/language/ref/TraceBackward.html.
CMS
Wolfram Language. 1991. "TraceBackward." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TraceBackward.html.
APA
Wolfram Language. (1991). TraceBackward. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TraceBackward.html
BibTeX
@misc{reference.wolfram_2025_tracebackward, author="Wolfram Research", title="{TraceBackward}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/TraceBackward.html}", note=[Accessed: 13-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_tracebackward, organization={Wolfram Research}, title={TraceBackward}, year={1991}, url={https://reference.wolfram.com/language/ref/TraceBackward.html}, note=[Accessed: 13-August-2025]}