TraceOff

TraceOff

is an option for Trace and related functions which specifies forms inside which tracing should be switched off.

Details

  • The setting for TraceOff gives a pattern which is compared with expressions to be evaluated. If the pattern matches the expression, then tracing will be switched off while that expression is being evaluated. The pattern is also tested against tags associated with the evaluation.
  • You can use TraceOff to avoid tracing inner parts of a computation.
  • The default setting TraceOff->None never switches off tracing.
  • TraceOn will not work inside TraceOff.
  • During the execution of Trace, the settings for TraceOn and TraceOff can be modified by resetting the values of the global variables $TraceOn and $TraceOff.

Examples

Basic Examples  (1)

Trace evaluation of an expression that evaluates a function g:

Omit evaluations required to get the values of g:

Wolfram Research (1991), TraceOff, Wolfram Language function, https://reference.wolfram.com/language/ref/TraceOff.html.

Text

Wolfram Research (1991), TraceOff, Wolfram Language function, https://reference.wolfram.com/language/ref/TraceOff.html.

CMS

Wolfram Language. 1991. "TraceOff." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TraceOff.html.

APA

Wolfram Language. (1991). TraceOff. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TraceOff.html

BibTeX

@misc{reference.wolfram_2024_traceoff, author="Wolfram Research", title="{TraceOff}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/TraceOff.html}", note=[Accessed: 18-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_traceoff, organization={Wolfram Research}, title={TraceOff}, year={1991}, url={https://reference.wolfram.com/language/ref/TraceOff.html}, note=[Accessed: 18-December-2024 ]}