< Previous | Next >

Task 6: Debugging a decision table

You add breakpoints to a decision table and step through it.

About this task

You step through a decision table.

Procedure

  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 then save your work.
  3. Add breakpoints on the two action cells for Rhode Island: in the Reason column, right-click the cells for Rhode Island, and then select Toggle Breakpoint.
  4. Save your work.
  5. Start the debugging session with the Debug-start-Alice launch configuration.
  6. Resume execution until you see the following decision table in the Debug perspective.
    Decision table in Debug perspective
  7. Click Step Over Step Over and note that you can now see the message in the Console view:
    In Rhode Island state, customer must be 25 or more to rent a car 
  8. Click TerminateTerminate.
  9. In the Breakpoints view, remove the breakpoints in the decision table.

What to do next

In the next task, you set breakpoints on the tasks in the ruleflow.
< Previous | Next >