CONTENTS
Running and Debugging
Getting Started
Overview: Testing Rules and Ruleset Execution
Tutorial: Debugging a Ruleset
Before You Start
Tutorial Scenario
Running the Completed Tutorial
Task 1: Starting a Debugging Session
Task 2: Setting Breakpoints in the Rules
Task 3: Inspecting the Agenda
Task 4: Correcting the Problem
Task 5: Stepping through the BOM to XOM Mapping
Task 6: Debugging a Decision Table
Task 7: Debugging a Ruleflow
Tutorial: Debugging a Remote Rule Execution Server Application
Before You Start
Tutorial Scenario
Task 1: Deploying the Loan Validation Application
Task 2: Executing the Loan Validation Application
Task 3: Preparing for a Remote Debug Session in Rule Studio
Task 4: Debugging a Remote Ruleset in Rule Studio
Concepts
Ruleset Debugging
Debug Mode
Debug View
Working Memory
Agenda
Variables
Breakpoints
Console
Launch Configurations
Tasks
Building and Running
Building a Rule Project
Running a Rule Project
Running the Rule Project
Setting Up a Launch Configuration
Setting Ruleset Parameter Values
Setting a Custom Execution Object Model Classpath
Running a Java Application with Rules
Running the Application
Setting Up a Launch Configuration
Setting the Rule Source Path
Creating a Debugger Launch Configuration
Creating a Debugger Launch Configuration for a Rule Project
Creating a Debugger Launch Configuration for a Java Application with Rules or RuleApps
Creating a Debugger Launch Configuration for a Remote Java Application with Rules or RuleApps
Debugging
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 Evaluating Expressions
Viewing and Editing Variable Values
Viewing Breakpoints
Troubleshooting Execution
Handling Exceptions in Generated Bytecode
Debug Notifications
Using Code Density
Debugging Remotely
Debugging Remotely without an Application Server
Debugging Remotely on an Application Server