2.13.3 Collect execution history in a section

The execution history is collected as trace data only for a section while the program is in execution by setting a Trace event.

This Trace event consists of a trace start event and a trace end event.

To use this function, follow the procedure described below.

 

2.13.3.1 Set a Trace event

2.13.3.2 Execute the program

2.13.3.3 Delete a Trace event

Caution 1.

Also see "2.18.6 Notes for setting events" for details on Trace events (e.g. limits on the number of enabled events).

Caution 2.

[Simulator]
Trace start events and trace stop events cannot be set/deleted while a tracer is running.

Caution 3.

[Simulator]
If you perform a trace from a trace start event until a trace end event, the simulator will not include the trace end event in the results of the trace. For this reason, if you are using a simulator, set the trace end event one line below the range for which you require display of the trace data.