mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
Fix for PR 49051
This commit is contained in:
parent
2450aa42da
commit
d11053223e
2 changed files with 10 additions and 6 deletions
|
@ -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
|
2003-12-16 Alain Magloire
|
||||||
|
|
||||||
Choose a debugger base on the Eclipse platform
|
Choose a debugger base on the Eclipse platform
|
||||||
|
|
|
@ -104,7 +104,7 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
|
||||||
});
|
});
|
||||||
|
|
||||||
fVarBookKeeping = new Button(optionComp, SWT.CHECK);
|
fVarBookKeeping = new Button(optionComp, SWT.CHECK);
|
||||||
fVarBookKeeping.setText("Enable variable bookkeeping.");
|
fVarBookKeeping.setText("Automatically track the values of variables.");
|
||||||
fVarBookKeeping.addSelectionListener(new SelectionAdapter() {
|
fVarBookKeeping.addSelectionListener(new SelectionAdapter() {
|
||||||
public void widgetSelected(SelectionEvent e) {
|
public void widgetSelected(SelectionEvent e) {
|
||||||
updateLaunchConfigurationDialog();
|
updateLaunchConfigurationDialog();
|
||||||
|
@ -233,7 +233,7 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
|
||||||
if (config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, DEFAULT_STOP_AT_MAIN) == true) {
|
if (config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, DEFAULT_STOP_AT_MAIN) == true) {
|
||||||
fStopInMain.setSelection(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);
|
fVarBookKeeping.setSelection(true);
|
||||||
}
|
}
|
||||||
} catch (CoreException e) {
|
} catch (CoreException e) {
|
||||||
|
@ -245,7 +245,7 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
|
||||||
if (isValid(config)) {
|
if (isValid(config)) {
|
||||||
super.performApply(config);
|
super.performApply(config);
|
||||||
config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, false);
|
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) {
|
if (fAttachButton.getSelection() == true) {
|
||||||
config.setAttribute(
|
config.setAttribute(
|
||||||
ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE,
|
ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE,
|
||||||
|
|
Loading…
Add table
Reference in a new issue