|
|
||
|
|
| Built-in Mathematica Symbol | Tutorials »|See Also »|More About » |
| TraceDialog[expr] initiates a dialog for every expression used in the evaluation of expr. |
| TraceDialog[expr, form] initiates a dialog only for expressions which match form. |
| TraceDialog[expr, s] initiates dialogs only for expressions whose evaluations use transformation rules associated with the symbol s. |
Trace evaluation of an expression, entering a Dialog whenever addition is encountered: In the dialog you can look at the evaluation stack:
This returns from the first dialog:
Another dialog has started:
In the dialog, you can check evaluations to see if they come out as you expect:
Return from the second dialog. Since there are no more additions, the evaluation will finish:
|
| © 2008 Wolfram Research, Inc. |