The TraceView.OnTraceStateChange event is triggered when a user clears, resumes, or pauses a trace.
Syntax
TraceView.OnTraceStateChange( newstate )
Parameters
newstate
This parameter indicates the new state of trace. Possible values for this parameter include the following:
| Value | State |
| 0 | Active |
| 1 | Paused |