Instead of printing trace events, the toolkit can save them in a list for later analysis. First, configure the tracing system to save the events and initialize the trace list.
Now specify which events to trace as before
and run your computation.
The list of events is now available in
TraceList[], which is best viewed in
TableForm.
To reset the list, use
newTraceList[] and to end tracing, turn it off as before.
To switch back to printing trace events, use