ILOG JRules User Guide > Running and Debugging > Tasks > Creating a Debugger Launch Configuration > Creating a Debugger Launch Configuration for a Java Application with Rules or RuleApps

In Rule Studio, you can create a debugger launch configuration for a Java application with rules or RuleApps.

To create a debugger launch configuration for a Java application:

  1. On the Run menu, click Debug.
  2. In the Debug dialog box, right-click Java Application with Rules in the Configurations pane and then click New.
  3. Enter a name in the Name field.
  4. On the Main page, click Browse and choose a rule project from the list of available rule projects, then click OK.
  5. Select the required check boxes:
    1. Include external Jars when searching for a main class
    2. Stop in main
    3. Stop at first rule statement.
  6. Click the Arguments tab, then click the Variables button to add either program or VM arguments.
  7. Choose to work in the default workspace or define an alternative using:
    1. Workspace
    2. File System
    3. Variables
  8. Select a parameter in the Name column, then click Edit Value to change:
    1. the name
    2. the expression value
    3. the function body
  9. Click the JRE tab to set and change the JRE version or Java executable.
  10. Click the Classpath tab to change the:
    1. Execution Object Model classes
    2. Engine Classes
    3. Bootstrap classes
  11. Click the Before Launching tab. Select the check box to perform an extraction. Click Browse to:
    1. Set the name of the extractor selector.
    2. Locate a generated ruleset archive.
  12. Click the Source tab to edit the:
    1. Java source path
    2. IRL source path
  13. Click the Common tab to change the launch configuration to either local or shared.
  14. Click Apply.

Related Concepts

Ruleset Debugging
Rule Engine
Rule Execution Server

Related Tasks

Creating a Debugger Launch Configuration for a Rule Project
Creating a Debugger Launch Configuration for a Remote Java Application with Rules or RuleApps

Related Samples and Tutorials

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