--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/LaunchPlugin.java Tue Apr 27 10:18:58 2010 -0500
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/LaunchPlugin.java Tue Apr 27 11:32:39 2010 -0500
@@ -250,7 +250,7 @@
boolean openLaunchConfigDialog = false;
// get the default config name and make sure it's unique
- final String defaultConfigName = getLaunchManager().generateUniqueLaunchConfigurationNameFrom(getDefaultLaunchConfigName(project, executable));
+ final String defaultConfigName = getLaunchManager().generateLaunchConfigurationName(getDefaultLaunchConfigName(project, executable));
// try to determine if this is for the emulator or not. also get the list of binaries for the current
// build configuration or project.
@@ -355,10 +355,9 @@
IStructuredSelection selection = new StructuredSelection(config.doSave());
String identifier;
if (mode.equals("run")) //$NON-NLS-1$
- identifier = new String("org.eclipse.debug.ui.launchGroup.run"); //$NON-NLS-1$
+ identifier = IDebugUIConstants.ID_RUN_LAUNCH_GROUP;
else
- identifier = new String("org.eclipse.debug.ui.launchGroup.debug"); //$NON-NLS-1$
-
+ identifier = IDebugUIConstants.ID_DEBUG_LAUNCH_GROUP;
DebugUITools.openLaunchConfigurationDialogOnGroup(CUIPlugin.getActiveWorkbenchShell(), selection, identifier);
}
else