To debug a non-JEE EGL application called from an EGL-generated Java™ application or wrapper, an
EGL Listener launch configuration is required. To create an EGL Listener
launch configuration, do as follows:
- Click the arrow next to the Debug button on the toolbar, then
click Debug, or select Debug from
the Run menu.
- The Debug dialog box is displayed.
- Click EGL Listener in the Configurations
list, then click the New launch configuration button.
- The Listener launch configuration is named New_configuration.
If you want to change the name of the launch configuration, type
the new name in the Name field.
- If you do not type a port number, the port defaults to 8346; otherwise,
type a port number. Each EGL Listener requires its own port.
- 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.
- If you need to use a different JRE than the default for this project,
click the JRE tab and complete the information
there.
- If you need additional Java classes
to run the program, specify the paths for those classes on the Classpath tab.
- Add any needed source files on the Source tab.
- To set environment variables for the duration of the debug session
only, type the names and values on the Environment tab.
- Click Apply to save the Listener launch
configuration.
- Click Debug to launch the EGL Listener.