Create project-standard and program-specific configurations
- Last Updated: February 19, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
The quickest way to run or debug a program is to use the Run/Debug as command, or simply to click Run
or Debug
on the main toolbar while the program is
selected. When you use one of these commands, OpenEdge first looks for a suitable
existing launch configuration to use. If none is found, it creates a new one.
For the convenience of running different programs in a project with just a click or two and without the inconvenience of accumulating numerous automatically created configurations that you do not need, it is helpful to understand How OpenEdge creates or reuses a configuration. You can take advantage of the way this selection process works to define:
- A project-standard configuration that will be used in a given project in all cases where no program-specific configuration exists.
- A program-specific configuration that will supersede the project-standard one if the program is selected when you issue the Run or Debug command.
Defining a project-standard configuration
To define a project-standard configuration, observe the following guidelines when setting values on the Main tab of the Configurations wizard:
- Project setting—Specify the project in which you want to use the configuration.
- Startup program setting—Choose Run selected program in workspace.
Defining a program-specific configuration
Using a standard launch configuration does not prevent you from using as many program-specific launch configurations as you need. When defining such a configuration, observe the following guidelines for values on the Main tab of the Configurations wizard:
- Project setting—Specify the project that contains the program.
- Startup program setting—Choose Run this program and specify the appropriate startup program.
When you select the program in the workspace and use the Run/Debug as command, OpenEdge chooses the program-specific configuration over any others that exist. You can also run the specified program from any project by explicitly choosing the associated launch configuration.