Finding and Filtering Trace Data

Click the Search button in the Trace Data viewer to find and filter the trace data displayed in the Trace Data viewer. The Find dialog box appears. You can search for a particular set of events based on a specific criteria and filter the events within the Trace Data viewer.

Figure 1. Find Dialog Box

Find Dialog Box

To find particular events in the trace data:

  1. In the Find text box, type the text you want to find in the trace data.
  2. Click Find. The row containing the specified text gets selected in the Trace Data viewer.
  3. Click Advanced if you want to specify a search criteria for your entry.

    A list of columns of the Trace Data viewer appears.

  4. Double-click the column in the list box on which you want to define the search criteria.

    A list of operators corresponding to the added column are supported.

    For numerical fields, standard equivalency operators are provided, that is ==, >, !=, >=, <, <=, depending upon the field.

    Figure 2. Find Dialog Box - Selecting Operator

    Find Dialog Box - Selecting Operator

    For text fields, contains, doesn-t-contain, doesn-t-equal, and equals operators are provided.

    • contains - tests that the character string entered is contained in the data to be searched
    • doesn-t-contain - tests that the character string entered is not contained in the data to be searched.
    • doesn-t-equal - tests that the character string entered does not exactly match the string in the data to be searched.
    • equals - tests that the character string entered exactly matches the string in the data to be searched.
  5. Select the required operator from the list box by double-clicking it.
  6. Double-click <value> and enter the value for comparison.
  7. If you want to add more to the search expression, select the AND or OR operator and define your entry using the same steps.
    Figure 3. Find Dialog Box - Specifying Search Criteria

    Find Dialog Box - Specifying Search Criteria

  8. Click Find.

    The focus will move to the first event that matches the search expression, and the corresponding row containing the event in the Trace Data viewer will be selected.

  9. Press F3 on your keyboard to locate the next event that matches the search expression.

The search starting point is determined by the currently selected cell in the Trace Data viewer and the search direction. If no cell is currently selected then the search starts at the beginning of the trace data if the search direction is forward or at the end of the trace data if the search direction is backward.

If a cell is currently selected then the search begins in the row immediately after the selected row if the search direction is forward, or in the row immediately preceeding the selected row if the search direction is backward.

To filter events:, repeat steps 3 - 8 and click the Filter button in the Find dialog box and repeat the steps 3 - 8. The data in the Trace Data viewer will be filtered to show only the trace events that match the filter expression.