Creating a launch configuration in the EGL debugger

To start debugging an EGL text program, non-JEE basic program, or Rich UI handler in an EGL debugging session, you need to establish a launch configuration. You can create a launch configuration yourself, or you can have the EGL application create one for you automatically. In relation to automatic configurations, see Starting a non-JEE application in the EGL debugger or Rich UI debugging.

To start a program using a launch configuration that you create yourself, follow these steps:

  1. Click Run > Debug. The Debug window opens.
  2. In the left pane of the Debug window, click EGL Program.
  3. Click the New launch configuration at the top of that same pane. A new launch configuration is displayed below the EGL Program heading. The Launch tab is initially displayed.
  4. In the Name field, type a name for the launch configuration. By default, the launch configuration has the same name as the program, unless a configuration already exists for this program.
  5. In the Project field of the Load tab, type the name of your project.
  6. In the EGL program source file field, select the program that you want to debug.
  7. If you are debugging a called program that takes arguments, click the Arguments tab. List the arguments for the program, in order, as you would in a call statement.
  8. If you need to use a different JRE than the default for this project, click the JRE tab and complete the information there.
  9. If you need additional Java™ classes to run the program, specify the paths for those classes on the Classpath tab.
  10. Add any needed source files on the Source tab.
  11. To set environment variables for the duration of the debug session only, type the names and values on the Environment tab.
  12. Click Apply to save the launch configuration settings.
  13. Click Debug to launch the program in the EGL debugger.
Note: If you have not yet clicked Apply to save the launch configuration settings, clicking Revert will remove all changes that you have made.

Feedback