Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2006-04-03 19:00:30 +0000
committerMikhail Khodjaiants2006-04-03 19:00:30 +0000
commit81cc0b0322c78b578085f8691c9c54b4ca9482f0 (patch)
tree19b35879cde80bff7a7b8bf78237e413cf657efd /launch/org.eclipse.cdt.launch
parent0c247b1d5f7b8f8e5b0d5bd7cd09239334877b30 (diff)
downloadorg.eclipse.cdt-81cc0b0322c78b578085f8691c9c54b4ca9482f0.tar.gz
org.eclipse.cdt-81cc0b0322c78b578085f8691c9c54b4ca9482f0.tar.xz
org.eclipse.cdt-81cc0b0322c78b578085f8691c9c54b4ca9482f0.zip
Fix for bug 134581: Unable to set advanced debugger options.
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-rw-r--r--launch/org.eclipse.cdt.launch/ChangeLog4
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java8
2 files changed, 8 insertions, 4 deletions
diff --git a/launch/org.eclipse.cdt.launch/ChangeLog b/launch/org.eclipse.cdt.launch/ChangeLog
index a55cc6f7cb6..0745e0a8648 100644
--- a/launch/org.eclipse.cdt.launch/ChangeLog
+++ b/launch/org.eclipse.cdt.launch/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-03 Mikhail Khodjaiants
+ Fix for bug 134581: Unable to set advanced debugger options.
+ * CDebuggerTab.java
+
2006-03-29 Mikhail Khodjaiants
Made some generic methods static.
* AbstractCLaunchDelegate.java
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 d77f2e23de0..029b9a296ad 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
@@ -94,16 +94,16 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
private void initialize() {
Map attr = getAdvancedAttributes();
Object varBookkeeping = attr.get(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ENABLE_VARIABLE_BOOKKEEPING);
- fVarBookKeeping.setSelection( (varBookkeeping instanceof Boolean) ? ! ((Boolean)varBookkeeping).booleanValue() : true);
+ fVarBookKeeping.setSelection( (varBookkeeping instanceof Boolean) ? !((Boolean)varBookkeeping).booleanValue() : true);
Object regBookkeeping = attr.get(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ENABLE_REGISTER_BOOKKEEPING);
- fRegBookKeeping.setSelection( (regBookkeeping instanceof Boolean) ? ! ((Boolean)regBookkeeping).booleanValue() : true);
+ fRegBookKeeping.setSelection( (regBookkeeping instanceof Boolean) ? !((Boolean)regBookkeeping).booleanValue() : true);
}
private void saveValues() {
Map attr = getAdvancedAttributes();
- Boolean varBookkeeping = Boolean.valueOf( fVarBookKeeping.getSelection() );
+ Boolean varBookkeeping = Boolean.valueOf( !fVarBookKeeping.getSelection() );
attr.put(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ENABLE_VARIABLE_BOOKKEEPING, varBookkeeping);
- Boolean regBookkeeping = Boolean.valueOf( fRegBookKeeping.getSelection() );
+ Boolean regBookkeeping = Boolean.valueOf( !fRegBookKeeping.getSelection() );
attr.put(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ENABLE_REGISTER_BOOKKEEPING, regBookkeeping);
update();
}

Back to the top