Creating a launch configuration in the EGL debugger
To start debugging an EGL text program or non-J2EE basic program in an EGL debugging session, a launch configuration is required. A launch configuration defines how a program should be launched. You can create a launch configuration (explicit creation), or you can let the EGL application create one for you (see Starting a non-J2EE program in the EGL debugger).
To start a program using an explicitly created 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 is displayed.
- Click EGL Program in the Configurations list, then click New.
- If you did not have an EGL source file highlighted in the Project Explorer view, the launch configuration is named New_configuration. If you had an EGL source file highlighted in the Project Explorer view, the launch configuration has the same name as the EGL source file. If you want to change the name of the launch configuration, type the new name in the Name field.
- If the name in the Project field of the Load tab is not correct, click Browse. A list of projects displays. Click a project, then click OK.
- If the name in the EGL program source file field is not correct or the field is empty, click Search. A list of EGL source files displays. Click a source file, then click OK.
- If you made changes to any of the fields on the Debug dialog, click Apply to save the launch configuration settings.
- Click Debug to launch the program in the EGL debugger.
Note: If you have not yet used Apply to save the launch configuration settings, clicking Revert will remove all changes that you have made.
Related concepts
EGL debugger
Related tasks
Starting a non-J2EE application in the EGL debugger
Stepping through an application in the EGL debugger
Using breakpoints in the EGL debugger
Viewing variables in the EGL debugger