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 /

MatchLocalNames

FilledSmallSquare MatchLocalNames is an option for Trace and related functions which specifies whether symbols such as x should match symbols with local names of the form x$nnn.

FilledSmallSquare The default setting is MatchLocalNames -> True.

FilledSmallSquare With the default setting, Trace[expr, x = rhs] will show assignments to local variables whose names are of the form x$nnn.

FilledSmallSquare Trace[expr, x = rhs, MatchLocalNames->False] shows assignments only for the global symbol x.

FilledSmallSquare See Section 2.6.11.

FilledSmallSquare New in Version 2.

Further Examples