Inspecting the agenda

You can inspect the rules that are placed in the agenda when you debug a rule or Java™ project for rules.

Procedure

To inspect the agenda:

  1. Click Run  > Debug Configurations.

    The Debug Configurations dialog opens.

  2. In the Configurations area of the Debug Configurations dialog, select your configuration.
  3. Make sure the Stop at first rule statement box is selected, and then click Debug.

    The Debug Perspective opens and execution stops at the first rule statement to be run.

  4. Step into the execution statements and check that the Agenda view is open.

Results

When objects in the working memory match the conditions of a rule, the rule is added to the agenda. The rule is shown in the Agenda view, and when you expand it, you can inspect the matched objects and their values.

Extended Agenda view