Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Inglis2003-12-17 14:47:08 -0500
committerDavid Inglis2003-12-17 14:47:08 -0500
commit47818ecde372045b79a152af693919d359b1edd0 (patch)
tree61546c058ffb80f366b69c35087f8aa0beea0f0f
parent9e424dce23f9dac491d1f27db4f6abd7a0c24502 (diff)
downloadorg.eclipse.cdt-47818ecde372045b79a152af693919d359b1edd0.tar.gz
org.eclipse.cdt-47818ecde372045b79a152af693919d359b1edd0.tar.xz
org.eclipse.cdt-47818ecde372045b79a152af693919d359b1edd0.zip
patch from mikhail to fix bug # 49051
-rw-r--r--launch/org.eclipse.cdt.launch/ChangeLog4
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java6
2 files changed, 7 insertions, 3 deletions
diff --git a/launch/org.eclipse.cdt.launch/ChangeLog b/launch/org.eclipse.cdt.launch/ChangeLog
index f10dea20840..46108bfa793 100644
--- a/launch/org.eclipse.cdt.launch/ChangeLog
+++ b/launch/org.eclipse.cdt.launch/ChangeLog
@@ -1,3 +1,7 @@
+2003-12-17 Mikhail Khodjaiants
+ Fix for PR 49051: Launcher: Debugger tab: variable tracking.
+ * CDebuggerTab.java
+
2003-12-16 Alain Magloire
Choose a debugger base on the Eclipse platform
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 f54ad231d17..2fbdc664550 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
@@ -104,7 +104,7 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
});
fVarBookKeeping = new Button(optionComp, SWT.CHECK);
- fVarBookKeeping.setText("Enable variable bookkeeping.");
+ fVarBookKeeping.setText("Automatically track the values of variables.");
fVarBookKeeping.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
updateLaunchConfigurationDialog();
@@ -233,7 +233,7 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
if (config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, DEFAULT_STOP_AT_MAIN) == true) {
fStopInMain.setSelection(true);
}
- if (config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ENABLE_VARIABLE_BOOKKEEPING, false) == true) {
+ if (config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ENABLE_VARIABLE_BOOKKEEPING, false) == false) {
fVarBookKeeping.setSelection(true);
}
} catch (CoreException e) {
@@ -245,7 +245,7 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
if (isValid(config)) {
super.performApply(config);
config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, false);
- config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ENABLE_VARIABLE_BOOKKEEPING, fVarBookKeeping.getSelection());
+ config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ENABLE_VARIABLE_BOOKKEEPING, !fVarBookKeeping.getSelection());
if (fAttachButton.getSelection() == true) {
config.setAttribute(
ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE,

Back to the top