fixed bug #9332.
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/LaunchPlugin.java Thu Aug 13 14:20:28 2009 -0500
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/LaunchPlugin.java Thu Aug 13 14:21:16 2009 -0500
@@ -346,7 +346,8 @@
try {
ILaunchConfiguration[] launches = launchManager.getLaunchConfigurations();
for (ILaunchConfiguration launchConfiguration : launches) {
- if (launchConfiguration.getAttribute(SettingsData.ATTR_originalName, launchConfiguration.getName()).equals(defaultConfigName))
+ if (launchConfiguration.getName().equals(defaultConfigName) ||
+ launchConfiguration.getAttribute(SettingsData.ATTR_originalName, launchConfiguration.getName()).equals(defaultConfigName))
{
if (defaultExecutable != null)
{