Configuring triggers

You can create start, stop, and activation triggers to TraceViewer.

To configure the triggers:

  1. Open the TraceViewer menu by clicking , and select Triggers.

    The Trigger Rules dialog is displayed.

  2. To manage the rules, do any of the following:

    See the following figure for an example:

    Trigger dialog

  3. In the Trigger Rule Definition dialog, enter a name for the trigger and the text to be matched with each trace.
  4. From the Type listbox, select the trigger type: Start trigger, Stop trigger, or Activation trigger. See following example:

    If you selected Activation trigger, continue to step 5, otherwise skip to step 8.

  5. Click the nn button next to the Conf field to select the configuration file to be used for the Activation trigger. The Load Configuration dialog opens:

  6. Browse to the desired activation file and select the configuration from the Load configuration listbox.

    Activation files and configurations are created by using the Trace Activation dialog. For more information, see Activating traces.

  7. Click OK in the Load Configuration dialog.
  8. Click OK in the Trigger Rule Definition dialog to either create a new rule or update an existing rule.
Related tasks