Skip to main content

IAR Embedded Workbench for RX 5.20

Creating rules for messages

In this section:

Depending on your source code, the number of messages in the C-RUN Messages window might be very large. For better focus, you can create rules to control which messages you want to be displayed.

To create a rule:
  1. Select a message in the C-RUN Messages window that you want to create a filter rule for.

  2. Right-click and choose one of the rules from the context menu.

    The rule will appear in the C-RUN Rules window.

  3. For an overview of all your rules, choose View>C-RUN Rules.

    When a check fails, the rules determine how the message should be reported. Rules are scanned top–down and the action from the first matching rule is taken.

    Note

    You can save a filter setup and then load it later in a new debug session.