ILOG JRules User Guide > Running and Debugging > Getting Started > Tutorial: Debugging a Ruleset > Task 6: Debugging a Decision Table

In this step, you learn how to add breakpoints to a decision table and step through it.

To step through a decision table:

  1. In the Rule Explorer, open the eligibility.MinimumAge decision table.
  2. In the Rhode Island row and Age of the customer column, change the value of Min from 18 to 16, and save your work.
  3. Add breakpoints on the two actions for Rhode Island: in the Reason column, right-click on the cells for Rhode Island, and select Toggle Breakpoint.
  4. Save your work.
  5. Start the debugging session (click images/tut_icon_debug.png on the toolbar or select Run > Debug).
  6. Resume execution (click images/tut_icon_resume.png Resume or press F8) until you see the decision table appear in the Debug perspective.
  7. You should see the following:
    XOM, BOM, and Vocabulary
  8. Click images/tut_icon_stepOver.png Step Over, and note that the message now appears in the Console:
In Rhodes Island state, customer must be 25 or more to rent a car 
  1. Resume execution until the application terminates or click images/tut_icon_terminate.png Terminate.
  2. In the Breakpoints view, remove the breakpoints in the decision table rule.

images/arrow_next.gif Next: Task 7: Debugging a Ruleflow