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

You can set breakpoints on objects in working memory.

To set a breakpoint:

  1. Start a debug session.
  2. In the Working Memory view, right-click the object on which you want to set a breakpoint, then select one of the following in the shortcut menu:
    1. If you want execution to stop when retracting this object, click Add/Remove Working Memory Breakpoint > Retract.
    2. If you want execution to stop when updating this object, click Add/Remove Working Memory Breakpoint > Update.
  3. Continue debugging.

Execution stops when the object is retracted or updated.

Related Concepts

Ruleset Debugging
Rule Engine

Related Tasks

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