ILOG JRules User Guide > Running and Debugging > Tasks > Debugging > Setting Breakpoints in Rules

You can set breakpoints on rule expressions to facilitiate a step through analysis of rules. When you subsequently come to remove breakpoints, you can remove individual breakpoints, or remove all the breakpoints at once.

To set a rule breakpoint in a rule:

  1. In the Intellirule Editor, select the line where you want to set a rule breakpoint.
  2. Then do one of the following:
    1. Select Toggle Breakpoint either from the Run menu or after right-clicking in the shaded border at the rule.
    2. Double-click the Intellirule Editor margin.
    3. Press Ctrl+Shift+B.

When you no longer need a breakpoint, you can remove it.

To remove a breakpoint:

  1. Select Toggle Breakpoint.
  2. You can do this either from the Run menu, or by right-clicking the breakpoint in the shaded border at the rule.
  3. Double-click the breakpoint in the the Intellirule Editor margin.
  4. In the Breakpoints view, select the breakpoint you want to remove and click images/remove_selected_breakpoints.png Remove Selected Breakpoints.

If you set up a number of breakpoints, you can remove them all at once.

To remove all breakpoints:

Related Concepts

Ruleset Debugging
Rule Engine

Related Tasks

Starting a Debugging Session
Setting Breakpoints in the Working Memory
Setting Breakpoints in the BOM
Stepping Through the Execution
Inspecting the Working Memory
Inspecting the Agenda
Viewing and Evaluating Expressions
Viewing and Editing Variable Values
Viewing Breakpoints

Related Samples and Tutorials

Tutorial: Debugging a Ruleset
Tutorial: Debugging a Remote Rule Execution Server Application