Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Display information from the evaluation stack during long-running evaluations
ResourceFunction["StackTicker"][expr] displays a stack ticker while the given expression is evaluating. | |
ResourceFunction["StackTicker"]["On"] displays a stack ticker for every input in the kernel session. |
BaseStyle | { } | base style specifications for the stack ticker |
"CommonHeads" | Automatic | common heads to be excluded from the stack ticker |
"InitialDelay" | 3 | how long to delay before the stack ticker is shown |
"RemoveCommonHeads" | True | whether to remove common heads from the stack ticker |
"ShowWarning" | False | whether to show a warning before showing the stack ticker |
UpdateInterval | 3 | time interval at which to do updates |
Show the heads of the expressions on the evaluation stack every few seconds during a long running evaluation:
In[1]:= |
Use a stack ticker to watch how functions written in Wolfram Language evaluate:
In[2]:= |
Out[2]= |
Show a stack ticker automatically for every long evaluation for the remainder of this kernel session:
In[3]:= |
Run an evaluation that takes a while:
In[4]:= |
Out[4]= |
Turn off the automatic session stack ticker:
In[5]:= |
Change the display of a particular stack ticker:
In[6]:= |
Change the display of the session stack tickers:
In[7]:= |
In[8]:= |
Hide certain heads from the stack ticker:
In[9]:= |
Hide all heads from the stack ticker:
In[10]:= |
Display the stack ticker after one second:
In[11]:= |
Turn off removal of heads specified by the option "CommonHeads":
In[12]:= |
Show a warning instead of immediately showing the stack ticker when an evaluation takes longer than "InitialDelay":
In[13]:= |
Update the stack ticker contents every second:
In[14]:= |
Use StackInhibit to hide stack information from Stack and StackTicker:
In[15]:= |
Out[15]= |
StackTicker cannot update while an evaluation is within the scope of a PreemptProtect:
In[16]:= |
Out[16]= |
This work is licensed under a Creative Commons Attribution 4.0 International License