Specifications
3 Using Wind River Trace
3.6 Tracing Execution
55
3
3.6 Tracing Execution
Once you have set up your project as described in 3.4 Setting Up a Project, p.40, you
can begin to trace code.
First, decide what trace events you want to be visible in the Events field. In the
Trace view toolbar, click Filter Visible Trace Events.
Available trace events vary by processor family. Examples of available trace events
are shown in Figure 3-4 and Figure 3-5. For a description of all trace events, see
4. Filtering Trace.
By default, all available trace events are selected. Clear the checkbox for any type
of trace event you do not wish to be visible.
3.6.1 Setting a Tracepoint
Next, set a tracepoint in your code.
If no tracepoints are set, The trace will contain all code up to the point where the
target was suspended, either manually or by hitting a breakpoint.
To set a tracepoint, right-click to the left of the editor (in the gutter) and select
Tracepoints > Add Tracepoint.
The Line Tracepoint dialog appears, as shown in Figure 3-7.










