Basic Examples (3)
Basic Examples
(3)
Retrieve the :
In[1]:=
ResourceFunction["TraceInteractive"]
Out[1]=
———
Trace an evaluation and stop whenever addition occurs:
In[1]:=
Out[1]=
{3,6,9}
Additional breakpoints can be added during evaluation by clicking the + button to the right of the breakpoints:
To remove breakpoints, just click them in the list.
Now clicking Continue will stop on multiplication as well:
The Return button will complete the evaluation with no further interruptions:
———
The colored numbers on the left of each cell correspond to the current trace level of the evaluation:
In[1]:=
factorial[0]=1;factorial[x_Integer?Positive]:=factorial[x-1]*x;[factorial[4],_factorial]
Out[1]=
24
Options (2)
Options
(2)
Applications (1)
Applications
(1)