Setting breakpoints in rules
You can set breakpoints on rule expressions to do a step-through analysis of the
rules.
Setting breakpoints
You can set breakpoints only on the parts of the rule that are run, that is, function statements and rule actions. If you try to set a breakpoint on a line where breakpoints are meaningless, the breakpoint is set at the next valid line.
To set a rule breakpoint in a rule:
- In the Intellirule editor, select the line where you want to set a rule breakpoint.
- Do one of the following actions:
-
Select Toggle Breakpoint either from the Run menu or after right-clicking in the shaded border at the rule.
-
Double-click the Intellirule editor margin.
-
Press Ctrl+Shift+B.
The margin of the Intellirule editor displays a blue dot.
-
Removing a breakpoint
When you no longer need a breakpoint, you can remove it.
To remove a breakpoint:
- Select Toggle Breakpoint either from the Run menu or by right-clicking the breakpoint in the shaded border at the rule.
- Double-click the breakpoint in the Intellirule editor margin.
- In the Breakpoints view, select the breakpoint that you want to remove and click
Remove Selected Breakpoints
.
Removing all breakpoints
To remove all the breakpoints:
- Select Remove All Breakpoints. You can do this operation in only the Breakpoints view.