StackComplete

StackComplete[expr]

evaluates expr with intermediate expressions in evaluation chains included on the stack.

Details

  • The Wolfram System 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.

Examples

Basic Examples  (1)

Include intermediate expressions in the evaluation stack:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Without StackComplete, you do not see how f and g are used:

In[3]:=
Click for copyable input
Out[3]=

See Also

Stack  TraceBackward  TraceAbove

Tutorials

Introduced in 1991
(2.0)