ILOG JRules User Guide > Running and Debugging > Tasks > Debugging > Viewing and Evaluating Expressions

When the VM suspends a thread (due to hitting a breakpoint or stepping through code), you can inspect expressions in the context of a stack frame.

To view an expression:

  1. On the Windows menu, click Show View > Expressions.
  2. You can then select the expression to perform an evaluation:
  3. In the Detail pane of the Expressions View right-click the expression, and then click one of:
    1. Display
    2. Inspect
    3. Execute

The result of a Display or Inspect evaluation is shown in a popup window. Execute does not display a result--the expression is just executed.

Related Concepts

Ruleset Debugging
Rule Engine

Related Tasks

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

Related Samples and Tutorials

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