forked from qt-creator/qt-creator
debugger: add a 'break at main' checkbox in the 'start and debug external' dialog
This commit is contained in:
@@ -389,13 +389,13 @@ void AttachTcfDialog::updateState()
|
||||
m_ui->serverStartScript->setEnabled(enabled);
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// StartExternalDialog
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
StartExternalDialog::StartExternalDialog(QWidget *parent)
|
||||
: QDialog(parent), m_ui(new Ui::StartExternalDialog)
|
||||
{
|
||||
@@ -440,6 +440,12 @@ QString StartExternalDialog::executableArguments() const
|
||||
return m_ui->argsEdit->text();
|
||||
}
|
||||
|
||||
bool StartExternalDialog::breakAtMain() const
|
||||
{
|
||||
return m_ui->checkBoxBreakAtMain->isChecked();
|
||||
}
|
||||
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user