2.11.1.3 [Simulator]

This trace operation can be configured in the [Trace] category on the [Debug Tool Settings] tab of the Property panel.

Figure 2.119

[Trace] Category [Simulator]

(1)

[Use trace function]

Select whether to use trace function.

Select [Yes] to use the trace function (default: [No]).

(2)

[Clear trace memory before running]

Select whether to clear (initialize) the trace memory before tracing starts.

Select [Yes] to clear the memory (default).

Remark

You can forcibly clear the trace memory when clicking the button in the toolbar in the Trace panel.

(3)

[Operation after trace memory is full]

Select the operation after the trace memory is full with the collected trace data, from the following drop-down list.

Non stop and overwrite to trace memory

Continues overwriting the older trace data after the trace memory is full (default).

When the [Clear trace memory before running] property is set to [Yes], at the time of a resumption, the trace data is collected after clearing the trace memory.

Stop trace

When the trace memory is full, CS+ stops writing trace data (the program does not stop execution).

Stop

When the trace memory is full, CS+ stops writing trace data and the program stops execution.

(4)

[Accumulate trace time]

Select whether to display the trace time with accumulated time.

Specify [Yew] to display trace time with accumulated time. Specify [No] to display the trace time with differential time (default).

(5)

[Trace memory size[frames]]

Select the trace memory size (trace frame number) (default: [4K]).

The trace frame is a unit of trace data. One trace frame is used for each operation in fetch/write/read.