View annotations

You can view code annotations in the Timeline and Log views. The annotation type determines where the annotations are presented.

Timeline view

Annotations appear in several parts of the Timeline view:

  • String annotations appear as an annotation on the thread that generated the annotation

  • Visual annotations appear in their own chart

  • Marker annotations appear as bookmark icons above the charts

  • Custom counters annotations appear in their own chart

  • Groups and channel annotations appear as an annotation on the thread that generated the annotation

  • Custom Activity Map (CAM) counter annotations appear in their own CAM view

Streamline can show details of annotations within a specified period:

  1. Drag each end of the cross-section marker so that it includes the period that you are interested in.

  2. Click the Select annotation logs within the cross-section marker icon select_annotation_log. Alternatively, press the L key.

    The Log view opens. All annotations within the selected period are highlighted.

Log view

The Log view lists all the annotations in the capture in chronological order. It also gives the thread and process that generated the annotation. If you assigned the annotation to a group and channel, the group and channel numbers are given. If you did not assign it to a group and channel, the Log view displays Group 0 and Channel 0 in these columns.

Marker annotations are indicated with a bookmark icon bookmark. Similarly, visual annotations are indicated with a camera icon camera. To see the image for a visual annotation, select the row for that annotation.

To filter the annotations, use the fields at the top of the view. You can enter regular expressions in these fields, except for the When and Duration fields. Use a dash to enter a range of values in the When and Duration fields. For example, 4-5 for four to five seconds inclusive, -5 for up to five seconds, or 5- for five seconds or later.

To see annotations in the Timeline view, select the annotations that you are interested in, right-click, and select the appropriate option. The Timeline view opens with the cross-section marker covering the selected annotations. To see functions that are related to annotations, select the annotations in the Log view, right-click, then select Select in Call Paths. The Call Paths view opens with the related functions selected.