Designer 10.7 | webMethods Service Development Help | Debugging Java Services | About Java Application Launch Configuration | Creating a Java Application Launch Configuration
 
Creating a Java Application Launch Configuration
Use the following procedure to create a Java Application launch configuration.
*To create a Java Application launch configuration
1. In Designer: Run > Debug Configurations
2. In the Debug Configurations dialog box, select Java Application and click to add a new launch configuration.
3. On the Main tab in the Project field, specify the Service Development Project that contains the test harness and the Java class that you want to debug.
4. In the Main Class field, specify the fully-qualified name for the test harness Java class.
5. Select the Stop in main check box if you want the debugger to suspend execution in the main method of the test harness when you launch it in debug mode. For more information, see How to Suspend Execution of a Java Class while Debugging.
6. On the JVM tab, optionally specify any Program or JVM arguments you want to use.
7. On the JRE tab, specify whether to use the default JRE or an alternate JRE that you identify.
*To use the default JRE, that is the JRE in the Service Development Project, select Project JRE.
*To identify an alternate JRE, select Alternate JRE and click Installed JREs to select the JRE to use.
8. On the Classpath tab, optionally add, re-arrange, or remove the class files to use when executing the Java class in debug mode.
9. On the Source tab, optionally update the source lookup path.
10. On the Environment tab, optionally add environment variables.
11. On the Common tab, if you want to share this launch configurations with other developers, select the Shared file check box and specify a workspace location in which to save the configuration.
12. Click Apply.
13. Click Debug to immediately launch the test harness Java class in debug mode using this launch configuration, or click Close.
Related Topics
About Java Application Launch Configuration
Updating a Java Application Launch Configuration
About Debugging a Java Service while it Runs in Integration Server
How to Suspend Execution of a Java Class while Debugging
Debugging a Java Service while its Class Runs in Designer
Viewing Service Results from Debugging a Java Service
Service Development Projects in the Local Workspace