Intel® System Debugger User Guide

ID 648476
Date 06/13/2024
Confidential
Document Table of Contents

Rules View

With Rules view, you can set multiple rules for highlighting messages in the Message View.

To open the Rules view, click the search icon in the Message View toolbar:

Rules_View_1_Open_From_Toolbar

Create Rule

  1. Click 42_FieldConstraints in the Rules view to create a new rule:

    Rules_View_2_Add_Rule

  2. In the opened dialog box, you can use two tabs to define the rule criteria:

    • Text tab allows you to create a simple string expression. When the rule is applied, messages matching the given string are highlighted.

      Rules_View_4_Simple_Criteria

    • Expression tab allows you to set more complex criteria. See how to Set Advanced Criteria.

  3. When criteria are defined, press OK to create the rule.

    The rule appears in the Rules view.

    Rules_View_5_Rule_Created

  4. In the Rules view, you can view and edit the following columns:

    • Navigation - Shortcut key to navigate the matches of each applied rule.

    • Checkbox - Select the rule to apply it by clicking Apply.

    • Matches - Show matches per rule when rules are applied.

    • Color - Change the color settings of the rule.

    • Name - Give a custom name to the rule.

    • Criteria - The text expression of the criteria defined for this rule. To edit the rule criteria, double-click this entry.

Work with Rules View

Toolbar

Rules_View_8_Toolbar

Default Rules

You can start with five default rules that can help you highlight messages with Corrupted Traces, Errors, Warnings, and other common issues. These rules are shown in the Rules view when you open it. The image below illustrates the default rules with their assigned colors.

Rules_View_12_Default_Rules

Apart from the existing default rules, you can create multiple rules with different settings. When ready, select the required rules (check boxes on the left) and click Apply to apply the rules to the Message view.

Rules_View_6_Muti_Rules

Note:

If rules in the Rules View are changed so that they are different from what has already been applied on the Message View, an asterik sign will appear on title to indicate the rules are out of sync and need to be re-applied.

Rules_View_7_Dirty

Color Priority

You can change the color priority of the rule using the up and down arrows in the toolbar. If several rules match the same result, the trace message is highlighted with the color of the rule which is higher in the table.

Show Matches Only

If this checkbox is selected when applying the rules, the Message View displays only those trace messages that match any of the selected rules and hides the rest of the messages.

Range

You can select the range of trace messages that the rules will be applied to. It is useful when you want to analyze a small segment of a large trace. Additionally, short ranges are filtered and displayed faster.

To limit the search to a certain window, click Edit icon and choose the upper bound and lower-bound using the “From” or “To” options.

Rules_View_9_EditRange

If you have defined markers, they are displayed in the Marker drop-down lists and you can use them as boundaries.

Auto Apply

You can check the Auto Apply checkbox to apply the default rules automatically (without explicitly clicking on the Apply button) when a trace file is decoded.

Rules_View_11_AutoApply

Save and Load Rules

You can use the toolbar buttons to save rules to a file or load them into the Rules view.

Rules_View_10_LoadAndSave

Set Advanced Criteria

In the Criteria dialog, you can use the Expression tab to create more complex rules with specific message fields.

Rules_View_3_Advanced_Criteria

Constraints

Packet Type Constraints

To select a packet type constraint:

  • Click the data field drop-down and select PacketType.

  • Click the operator drop-down and select an operator.

Commonly, the == operator is used for packet types but any other operator is also valid.

  • Click in the text field to select the desired packet string.

Rules_View_13_PacketType_Constraint

To select multiple packet types, use logical OR to combine them. Logical AND is not supported for this purpose.

To denote all packets, do not specify any packet type constraints.

Field Constraints

  1. Click the field constraints drop-down menu and select the desired field.

Fields that belong to at least one of the selected packets are shown.

  1. Set constraints to the selected fields.

  • To add a field constraint, click 42_FieldConstraints.

  • To remove a field constraint, click 43_Cancel.

If multiple field constrains are set, you can combine them by using logical AND or OR.

To add multiple conditions to your search, click Add Condition. An OR logics is applied on multiple conditions. See the last example below.

Examples

  • Search for messages of the type “BLOB,” with Severity of Fatal or Error or Warning:

    44_FieldConstraints

  • Search for messages of all packet types, coming from the BIOS ANDPOSTCODE appears in the Summary:

    45_FieldConstraints

  • Multiple search criteria – search for one of the following options:

    • BLOB.SVEN messages where Summary contains “Destination”AND coming from BIOS

    • BLOB.AET messages where Summary contains “dstOR coming from the AET_​S0C00T0

    46_FieldConstraints