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

You can set breakpoints on BOM classes.

To set a breakpoint:

  1. Choose the type of BOM class breakpoint you want to set:
    1. If you want execution to stop when adding an object of the class, click Run > Add BOM Class Breakpoint > Insert.
    2. If you want execution to stop when retracting an object of the class, click Run > Add BOM Class Breakpoint > Retract.
    3. If you want execution to stop when updating an object of the class, click Run > Add BOM Class Breakpoin  > Update.
  2. A dialog opens. In the Class name field, type the fully qualified name of the class on which you want to set a breakpoint, then click OK.
  3. On the Window menu, click Show View > Breakpoints.
  4. The Breakpoints view opens. You can see that a BOM class breakpoint has been added to the list of breakpoints.
    images/xombreakpoint.png
  5. Start debugging.
  6. Execution stops when an object of the BOM class is added, retracted, or updated.
    images/xombreakptresult.png

Related Concepts

Ruleset Debugging
Rule Engine
Execution Object Model (XOM)

Related Tasks

Starting a Debugging Session
Setting Breakpoints in Rules
Setting Breakpoints in the Working Memory
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