| |||
| Home > Tracing with RealView Debugger > Setting conditional tracepoints > Chaining tracepoints | |||
You can create complex conditional tracepoints by chaining individual tracepoints together. You can create chained tracepoints in the following ways:
Using the following dialog boxes:
Trace on X after Y [and/or Z] dialog box (see Using the Trace on X after Y [and/or Z] dialog box)
Trace on X after Y executed N times dialog box (see Using the Trace on X after Y executed N times dialog box)
Trace on X after A==B dialog box (see Using the Trace on X after A==B dialog box)
Trace if A==B in X dialog box (see Using the Trace if A==B in X dialog box).
Using trace command qualifiers (see Chaining tracepoints with command qualifiers).
You use the hw_and command qualifier to
create chained tracepoints. For the first tracepoint in the chain,
include the hw_and:”then-next” command qualifier.
For each subsequent tracepoint in the chain, include the hw_and:”then-prev” or hw_and:prev command
qualifier.
For more details on the trace commands, see the RealView Developer Kit v2.2 Command Line Reference Guide.
It is not recommended that you use the CLI to create chained tracepoints. If you want to use chained tracepoints in scripts, then create them using the tracepoint dialog boxes described in this section, and copy the commands generated by RealView Debugger.