7.5. Setting tracepoints to test for external conditions

For ETM-based targets, you can test for external conditions.

To test for external conditions:

  1. In the source or disassembly view, right-click on the gray margin to the left of the required location to display context menu.

  2. Select Create Tracepoint... from the context menu to display the Create Tracepoint dialog box. Figure 7.3 shows an example:

    Figure 7.3. Create Tracepoint dialog box

    Create Tracepoint dialog box

  3. Select the required tracepoint type from the first drop-down list.

  4. Select External Condition for the tracepoint comparison type from the second drop-down list. The tracepoint comparison type determines which of the remaining parameters you can set.

  5. Click the drop-down arrow of the when field to display the external conditions menu.

  6. Select the required condition to test.

  7. If required, enter a Pass count.

  8. Click OK to set the tracepoint and close the Create Tracepoint dialog box.

See also:

Copyright © 2006-2010 ARM Limited. All rights reserved.ARM DUI 0322F
Non-ConfidentialID102410