5.2.3. Trace Range

A Trace Range indicates an area of your image where a specific type of trace information:

You can set the start and end positions of the range individually at the required lines of code, or select a range of lines and set the Trace Range with a single operation.

If you do not set an end position for the range, the default address 0xFFFFFFFF is used (effectively the end of memory).

You can use trace ranges in conjunction with trace start and end points.

Note

Trace ranges are available only for ETM-based hardware.

Identifying a trace range

The start and end positions of a Trace Range are identified respectively by the arrows and in the left margin of the code view.

Include trace range

An Include trace range indicates an area of your image where you want to capture a specific type of trace information. Information is captured only for the specified area, and not for any areas that are branched to. These branches are represented as Trace Pause status lines in the Analysis window. You can set the following types of Include trace range:

  • instructions only

  • instructions and data.

Exclude trace range

An Exclude trace range indicates an area of your image where you do not want to capture trace information. You can set the following types of Exclude trace range:

  • instructions and data (cannot be used in conjunction with Include trace ranges)

  • data only (can be used in conjunction with Include trace ranges).

Note

The ETM hardware enables you to set both Include and Exclude trace ranges only in specific circumstances. If you attempt to use an Exclude trace range incorrectly, RealView Debugger displays an error in the Output view.

See also

Copyright © 2006-2009 ARM Limited. All rights reserved.ARM DUI 0322D
Non-Confidential