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

Fix for PR 49051

This commit is contained in:
David Inglis 2003-12-18 15:45:21 +00:00
parent 2450aa42da
commit d11053223e
2 changed files with 10 additions and 6 deletions

View file

@ -1,10 +1,14 @@
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
* plugin.xml
* src/org/eclipse/cdt/launch/internal/CApplicationlaunchShortcut.java
2003-10-27
Fixed 46129

View file

@ -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,