This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Programming / Debugging  /

  • StackComplete[ expr ] evaluates expr with intermediate expressions in evaluation chains included on the stack.
  • Mathematica normally includes only the latest expression on each evaluation chain involved in the evaluation of a particular expression. Inside StackComplete, however, all preceding expressions on the evaluation chains are included.
  • StackComplete typically increases significantly the number of expressions kept on the evaluation stack.
  • See the Mathematica book: Section 2.5.11.
  • See also: TraceBackward, TraceAbove.

    Further Examples

    StackComplete gives all intermediate expressions on the stack.


    {CompoundExpression, f, g, StackComplete, Print}