The Profile-Only mode does not collect the trace data; it only profiles the data. Trace is empty in this mode; you can only see the profiling information in the
Critical Code Data
viewer. To set a trigger in Profile-Only mode:
- Set trigger A in the source code following the steps 1- 8 described in the topic
Trace From Trigger A Onward.
- Open the
Debug Configurations
dialog box, and click the
Trace and Profile
tab.
- Select the
Profile-Only. Sample PC every 512 cycles
option from the
Select Trace Mode
group.
- Select the
Trace from Trigger A Onward
trace condition.
- Click
Apply
to save the settings.
- Click
Debug
to debug the application.
- Click
Resume
and after a short while, click
Suspend
. The application halts and data is collected.
- Open the
Critical Code Data
viewer following the steps explained in the topic
Viewing Data to view the critical code data results.
Figure 1.
Critical Code Data - Profile-Only Mode of ColdFire V1

This is how you collect trace data in the Profile-Only mode of the ColdFire V1 target.