1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

changed order of clearing debugger combox and

assoicated data to prevent exception under motif.
This commit is contained in:
Alain Magloire 2002-08-28 14:26:04 +00:00
parent 039b06c5df
commit bd73e9ca42

View file

@ -142,10 +142,10 @@ public class CDebuggerTab extends CLaunchConfigurationTab {
catch (CoreException e) { catch (CoreException e) {
return; return;
} }
fDCombo.removeAll();
if ( fDinfo != null ) { if ( fDinfo != null ) {
fDinfo.clear(); fDinfo.clear();
} }
fDCombo.removeAll();
debugConfigs = CDebugCorePlugin.getDefault().getDebugConfigurations(); debugConfigs = CDebugCorePlugin.getDefault().getDebugConfigurations();
fDinfo = new ArrayList(debugConfigs.length); fDinfo = new ArrayList(debugConfigs.length);
for( int i = 0; i < debugConfigs.length; i++ ) { for( int i = 0; i < debugConfigs.length; i++ ) {