Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java2
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CoreFileDebuggerTab.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
index 43ecf617cfc..3e91ff215bd 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
@@ -163,7 +163,7 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
list.add( debugConfigs[i] );
// select first exact matching debugger for platform or requested selection
if ( (defaultSelection.equals("") && debuggerPlatform.equalsIgnoreCase( configPlatform ))) { //$NON-NLS-1$
- defaultSelection = debugConfigs[i].getName();
+ defaultSelection = debugConfigs[i].getID();
}
}
}
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CoreFileDebuggerTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CoreFileDebuggerTab.java
index b5b3509c093..fd60d393a4d 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CoreFileDebuggerTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CoreFileDebuggerTab.java
@@ -119,11 +119,11 @@ public class CoreFileDebuggerTab extends AbstractCDebuggerTab {
// requested selection
String debuggerPlatform = debugConfigs[i].getPlatform();
if (defaultSelection == null && debuggerPlatform.equalsIgnoreCase(projectPlatform)) { //$NON-NLS-1$
- defaultSelection = debugConfigs[i].getName();
+ defaultSelection = debugConfigs[i].getID();
}
}
if (selection.equals(debugConfigs[i].getID())) {
- defaultSelection = debugConfigs[i].getName();
+ defaultSelection = debugConfigs[i].getID();
}
}
}

Back to the top