mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
fixed debugger slection bug
This commit is contained in:
parent
bec09a7c2a
commit
92d5c0eec5
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue