Rules and filtering
In order to manipulate the generated trace data, you can specify various
types of rules and filters, depending on what you want to find out.
Usually, the criteria for the rules is defined to match the trace with
any of the following prerequisites:
- a certain component ID
- a component from a certain group
- a pre-defined text string.
You can specify the following types of rules in TraceViewer:
- Color: identifies traces that meet the specific criteria with a
certain color.
- Line count: counts the number of occurrences for a certain type
of trace (for example, used to indicate how many times a function has been
called during a test case).
- Variable tracing: shows the values of certain variables and the
history of their occurrences.
- Filter: filters specific traces by allowing the creation of complex
statements, which include certain traces and exclude others.
- Trigger: used for setting up start and stop triggers that define
specifically when traces should be received.
Note: Compared to trace activation, filters are not as
strict about the type of data they pass on from the device.
For more information, see Dictionary file and trace
activation.
Related tasks