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:
parent
b575779a66
commit
d89fe5b50d
1 changed files with 10 additions and 12 deletions
|
@ -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$
|
||||
200, SWT.DEFAULT, SWT.WRAP);
|
||||
|
||||
|
@ -278,6 +266,16 @@ public class GdbDebuggerPage extends AbstractCDebuggerPage implements Observer {
|
|||
gd.horizontalSpan = 3;
|
||||
gd.widthHint = 200;
|
||||
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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue