You can choose how you want to run and launch programs for testing and
debugging purposes based on whether or not your program uses environment variables.
There is a simple way to launch a program that does not need to access environment
variables. Additionally, there is a quick way to launch a program that accesses
environment variables based on configuration information you define prior
to running the program.
Note: Before you attempt to run a program, consider a build related performance
issue. In the workbench preferences, there is an option labeled Build
(if required) before launching. By default, this option is selected.
The result is that whenever you invoke an executable using a "Compiled Application"
launch configuration, any project that includes file edits after that project
was last built will be rebuilt before the executable is run or debugged.
One or more remote projects may be built, which could take a significant amount
of time to complete. To avoid unnecessary delay, turn off the Build
(if required) before launching option (under Window
> Preferences > Run/Debug > Launching) and make sure the project
containing the executable is up-to-date before running or debugging the executable.
For more information on running programs, see the following topics: