Search code examples
eclipseeclipse-cdt

How to tell Eclipse which Debug configuration to use as default?


I have created an Eclipse debug configuration, and saved it to a file. I'd like to share it with the team. However, when Eclipse project is imported, this configuration is not selected as the default one, so each user has to go to Run/Debug Configurations... and under the Common tab select Shared file and navigate to this file in order to use it.

How do I tell Eclipse which Debug configuration to use as default?

Are Debug/Run configrations ment to be shared at all?


Solution

  • If a launch configuration is shared (stored as *.launch file in a project), all users that get a local copy of the shared *.launch file will see the item in the right tree in the Run > Run Configurations... dialog. They have not to go to the Common tab.

    In addition, a launch configuration can be added to the favorites menu (also in the Common tab) to show it in the Run/Debug button pull-down menu.