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