You can create new launch configurations by copying existing launch
configurations.
- In a workbench perspective that offers the launch/debug/run action
set (such as the Debug perspective), perform one of the following tasks:
- Select Run > Debug from the workbench menu
bar to open the Debug launch configurations dialog
box.
- Click the down arrow next to the workbench toolbar Debug push
button and choose Debug from the list. This will open
the Debug launch configurations dialog box.
- In the Debug launch configurations dialog
box, right-click the launch configuration that you want to copy. You might
need to expand the launch configuration type node to find the launch configuration.
- Choose Duplicate from the pop-up menu.
- The duplicate launch configuration is displayed below the launch
configuration that it was copied from. Its settings are the same as the launch
configuration that was copied. These are displayed on the right-hand side
of the Debug launch configurations dialog box.
- Alter these settings as required for your new launch configuration.
Further information about these settings can be found in debugger help task
files which describe creating launch configurations.
- If all information mandatory to the launch configuration has been
provided, the Debug and Apply push
buttons will be enabled. Clicking Apply will save
the launch configuration, at which point you can choose to close the dialog
box without launching the debug session or you can click Debug to
launch a debug session using the new launch configuration. If you click Debug,
any changes to the launch configuration will be saved and a debug session
will be launched.
After you have saved a debug launch configuration,
you can edit it. For further information about editing debug launch configurations,
see the related task.
Tip: If you have not yet saved launch
configuration settings and if you have made entries in the launch configuration
settings that you want to remove or change, clicking Revert will
remove all changes that you have made.
- If information mandatory to the launch configuration has not been
provided or if there are errors in the information that you have provided,
messages at the top of the dialog box will indicate what is missing.
- When you are finished working in the dialog box, click Close to
exit it.