CONTENTS

Running and Debugging

Getting Started
Overview: Testing Rules and Ruleset Execution
Tutorial: Debugging a Ruleset
Gray bulletBefore You Start
Gray bulletTutorial Scenario
Gray bulletRunning the Completed Tutorial
Gray bulletTask 1: Starting a Debugging Session
Gray bulletTask 2: Setting Breakpoints in the Rules
Gray bulletTask 3: Inspecting the Agenda
Gray bulletTask 4: Correcting the Problem
Gray bulletTask 5: Stepping through the BOM to XOM Mapping
Gray bulletTask 6: Debugging a Decision Table
Gray bulletTask 7: Debugging a Ruleflow
Tutorial: Debugging a Remote Rule Execution Server Application
Gray bulletBefore You Start
Gray bulletTutorial Scenario
Gray bulletTask 1: Deploying the Loan Validation Application
Gray bulletTask 2: Executing the Loan Validation Application
Gray bulletTask 3: Preparing for a Remote Debug Session in Rule Studio
Gray bulletTask 4: Debugging a Remote Ruleset in Rule Studio
Concepts
Ruleset Debugging
Gray bulletDebug Mode
Gray bulletDebug View
Gray bulletWorking Memory
Gray bulletAgenda
Gray bulletVariables
Gray bulletBreakpoints
Gray bulletConsole
Launch Configurations
Tasks
Building and Running
Gray bulletBuilding a Rule Project
Gray bulletRunning a Rule Project
Gray bulletRunning the Rule Project
Gray bulletSetting Up a Launch Configuration
Gray bulletSetting Ruleset Parameter Values
Gray bulletSetting a Custom Execution Object Model Classpath
Gray bulletRunning a Java Application with Rules
Gray bulletRunning the Application
Gray bulletSetting Up a Launch Configuration
Gray bulletSetting the Rule Source Path
Creating a Debugger Launch Configuration
Gray bulletCreating a Debugger Launch Configuration for a Rule Project
Gray bulletCreating a Debugger Launch Configuration for a Java Application with Rules or RuleApps
Gray bulletCreating a Debugger Launch Configuration for a Remote Java Application with Rules or RuleApps
Debugging
Gray bulletStarting a Debugging Session
Gray bulletSetting Breakpoints in Rules
Gray bulletSetting Breakpoints in the Working Memory
Gray bulletSetting Breakpoints in the BOM
Gray bulletStepping Through the Execution
Gray bulletInspecting the Working Memory
Gray bulletInspecting the Agenda
Gray bulletViewing and Evaluating Expressions
Gray bulletViewing and Editing Variable Values
Gray bulletViewing Breakpoints
Troubleshooting Execution
Gray bulletHandling Exceptions in Generated Bytecode
Gray bulletDebug Notifications
Gray bulletUsing Code Density
Debugging Remotely
Gray bulletDebugging Remotely without an Application Server
Gray bulletDebugging Remotely on an Application Server