Community
Participate
Working Groups
Build ID: 20090619-0625 Steps To Reproduce: 1. Open Ganymede (Build ID M20090211-1700) 2. Create a C++ launch configuration by selecting "Run as" -> "Local C/C++ Application" from the context menu of an executable in the project explorer. 3. Open Galileo with the same workspace. The launch configuration does not show. More information: The directory /.metadata/.plugins/org.eclipse.debug.core/.launches contains the launch configurations, but I don't see them in eclipse, neither in the dropdown menu nor in the "Run configurations" dialog.
This is a serious problem. I had dozens of CDT launch configurations that were lost when moving to CDT 6.0 under Galileo. The problem is caused by a change in the manifest string that denotes a C/C++ application type in the Launch Configuration file (*.launch). It was formerly "org.eclipse.cdt.launch.localCLaunch" but is now "org.eclipse.cdt.launch.applicationLaunchType". CDT 6.0 does not recognize the .launch files that use the older configuration type.
Workaround, for what it's worth: -- change the "localCLaunch to "applicationLaunchType"" -- before the closing </launchConfiguration> add <mapAttribute key="org.eclipse.debug.core.preferred_launchers"> <mapEntry key="[debug]" value="org.eclipse.cdt.cdi.launch.localCLaunch"/> </mapAttribute>