This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Programming / Debugging /

TraceOff

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

FilledSmallSquare 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.

FilledSmallSquare You can use TraceOff to avoid tracing inner parts of a computation.

FilledSmallSquare The default setting TraceOff -> None never switches off tracing.

FilledSmallSquare TraceOn will not work inside TraceOff.

FilledSmallSquare 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.

FilledSmallSquare See Section 2.6.11.

FilledSmallSquare See also: TraceDepth, TraceOn.

FilledSmallSquare New in Version 2.

Further Examples