mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-13 19:25:38 +02:00
Fixed PR#84361
This commit is contained in:
parent
1ec27ca202
commit
83c9192837
3 changed files with 22 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-02-03 David Inglis
|
||||
Fixed PR#84361
|
||||
|
||||
* src/org/elipse/cdt/launch/internal/ui/AbstractCDebuggerTab.java
|
||||
* src/org/eclipse/cdt/launch/ui/CoreFileDebuggerTab.java
|
||||
|
||||
2005-01-19 Alain Magloire
|
||||
PR 82930
|
||||
* src/org/eclipse/cdt/launch/internal/CPropertyTester.java
|
||||
|
|
|
@ -137,7 +137,6 @@ public abstract class AbstractCDebuggerTab extends CLaunchConfigurationTab {
|
|||
setInitializeDefault(false);
|
||||
getDynamicTab().initializeFrom(wc);
|
||||
}
|
||||
updateLaunchConfigurationDialog();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -84,6 +84,21 @@ public class CoreFileDebuggerTab extends AbstractCDebuggerTab {
|
|||
setInitializing(false);
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.launch.internal.ui.AbstractCDebuggerTab#activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy)
|
||||
*/
|
||||
public void activated(ILaunchConfigurationWorkingCopy workingCopy) {
|
||||
setInitializing(true);
|
||||
try {
|
||||
String id = workingCopy.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ID, ""); //$NON-NLS-1$
|
||||
loadDebuggerComboBox(workingCopy, id);
|
||||
} catch (CoreException e) {
|
||||
}
|
||||
setInitializing(false);
|
||||
super.activated(workingCopy);
|
||||
}
|
||||
|
||||
public boolean isValid(ILaunchConfiguration config) {
|
||||
if (!validateDebuggerConfig(config)) {
|
||||
return false;
|
||||
|
@ -106,6 +121,7 @@ public class CoreFileDebuggerTab extends AbstractCDebuggerTab {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
protected void loadDebuggerComboBox(ILaunchConfiguration config, String selection) {
|
||||
ICDebugConfiguration[] debugConfigs = CDebugCorePlugin.getDefault().getDebugConfigurations();
|
||||
String projectPlatform = getProjectPlatform(config);
|
||||
|
|
Loading…
Add table
Reference in a new issue