18.21. Creating Breakpoints

Procedure 18.7. Task

  1. To create breakpoints for easier debugging of rules, open the DRL editor and load the DRL file you wish to use.
  2. Double-click the ruler of the DRL editor at the line where you want to add a breakpoint. Note that rule breakpoints can only be created in the consequence of a rule. Double-clicking on a line where no breakpoint is allowed will do nothing. A breakpoint can be removed by double-clicking the ruler once more.
  3. Right-click the ruler. A popup menu will show up, containing the Toggle breakpoint action. Note that rule breakpoints can only be created in the consequence of a rule. The action is automatically disabled if no rule breakpoint is allowed at that line.
  4. Click the action to add a breakpoint at the selected line, or remove it if there was one already.

    Note

    The Debug Perspective contains a Breakpoints view which can be used to see all defined breakpoints, get their properties, enable/disable or remove them, and so on.