Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Inglis2004-10-20 19:20:54 +0000
committerDavid Inglis2004-10-20 19:20:54 +0000
commit92d5c0eec565e3a09394213455658bd98edc2bde (patch)
tree75925214b0be6c34a47ca79e2e7876ebfd305a47 /launch/org.eclipse.cdt.launch
parentbec09a7c2a77178c98a76335f3964ff6d06edf1e (diff)
downloadorg.eclipse.cdt-92d5c0eec565e3a09394213455658bd98edc2bde.tar.gz
org.eclipse.cdt-92d5c0eec565e3a09394213455658bd98edc2bde.tar.xz
org.eclipse.cdt-92d5c0eec565e3a09394213455658bd98edc2bde.zip
fixed debugger slection bug
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-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