Mathematica 9 is now available

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

Stack

FilledSmallSquare Stack[ ] shows the current evaluation stack, giving a list of the tags associated with evaluations that are currently being done.

FilledSmallSquare Stack[pattern] gives a list of expressions currently being evaluated which match the pattern.

FilledSmallSquare Stack[_] shows all expressions currently being evaluated.

FilledSmallSquare You can call Stack from inside a dialog to see how the dialog was reached.

FilledSmallSquare In the list returned by Stack[pattern], each expression is wrapped with HoldForm.

FilledSmallSquare The maximum length of Stack[ ] is limited by $RecursionLimit.

FilledSmallSquare Stack has attribute HoldFirst.

FilledSmallSquare See Section 2.6.12.

FilledSmallSquare See also: Trace.

FilledSmallSquare New in Version 2.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.