2.12.2 Collect execution history until stop of the execution

In the debug tool, there is a function to collect the execution history from the start of program execution to the stop.

Therefore, the trace data collection is automatically started when the program starts executing and stopped when the program stops.

See "2.12.6 Display the collected execution history" for how to check the collected trace data.

Remark

This function is actuated by an Unconditional Trace event, one of the built-in events that are set in the debug tool by default.
Consequently, if the Unconditional Trace event is set to Invalid state by clearing the check box in the Events panel, trace data linked to the start of program execution will not be collected (the Unconditional Trace event is set to Valid state by default).
Note that Unconditional Trace event and Trace event described later (see "2.12.3 Collect execution history in a section") are used exclusively of each other. Therefore, if Trace event with Valid state is set, Unconditional Trace event is automatically set to Invalid state.