1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

[248942] The .gdbinit box in the launch has a warning following it. The non-stop

checkbox was added in between the .gdbinit box and its corresponding warning.
Instead, the warning should remain right under its box.
This commit is contained in:
Marc Khouzam 2008-09-29 14:10:55 +00:00
parent b575779a66
commit d89fe5b50d

View file

@ -259,18 +259,6 @@ public class GdbDebuggerPage extends AbstractCDebuggerPage implements Observer {
} }
}); });
// TODO: Fetch the string from LaunchUIMessages
// TODO: Ideally, this field should be disabled if the back-end doesn't support non-stop debugging
// TODO: Find a way to determine if non-stop is supported (i.e. find the GDB version) then grey out the check box if necessary
// Button fNonStopButton = ControlFactory.createCheckBox(subComp, LaunchUIMessages.getString( "GDBDebuggerPage.15") ); //$NON-NLS-1$
fNonStopCheckBox = ControlFactory.createCheckBox(subComp, LaunchUIMessages.getString("GDBDebuggerPage.13")); //$NON-NLS-1$
fNonStopCheckBox.addSelectionListener( new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
updateLaunchConfigurationDialog();
}
});
label = ControlFactory.createLabel(subComp, LaunchUIMessages.getString("GDBDebuggerPage.9"), //$NON-NLS-1$ label = ControlFactory.createLabel(subComp, LaunchUIMessages.getString("GDBDebuggerPage.9"), //$NON-NLS-1$
200, SWT.DEFAULT, SWT.WRAP); 200, SWT.DEFAULT, SWT.WRAP);
@ -278,6 +266,16 @@ public class GdbDebuggerPage extends AbstractCDebuggerPage implements Observer {
gd.horizontalSpan = 3; gd.horizontalSpan = 3;
gd.widthHint = 200; gd.widthHint = 200;
label.setLayoutData(gd); label.setLayoutData(gd);
// TODO: Ideally, this field should be disabled if the back-end doesn't support non-stop debugging
// TODO: Find a way to determine if non-stop is supported (i.e. find the GDB version) then grey out the check box if necessary
fNonStopCheckBox = ControlFactory.createCheckBox(subComp, LaunchUIMessages.getString("GDBDebuggerPage.13")); //$NON-NLS-1$
fNonStopCheckBox.addSelectionListener( new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
updateLaunchConfigurationDialog();
}
});
} }
public void createSolibTab(TabFolder tabFolder) { public void createSolibTab(TabFolder tabFolder) {