forked from qt-creator/qt-creator
Enabled passing on PIDs from the command line to the debugger.
Introduced struct DebuggerStartParameters to pass around start parameters, removing the need for the engines to access private members of DebuggerManager. Pass it to DebuggerManager::startNewDebugger() and move the GUI parts of that function into DebuggerPlugin, making it possible to create the struct from command line parameters. Introduce command line parsing with a few more -enable-xx options. Introduce warning() to debugger panel in the CDB engine. On this occasion, clean out a few trailing whitespaces.
This commit is contained in:
@@ -289,9 +289,9 @@ void AttachExternalDialog::procSelected(const QModelIndex &proxyIndex)
|
||||
}
|
||||
}
|
||||
|
||||
int AttachExternalDialog::attachPID() const
|
||||
qint64 AttachExternalDialog::attachPID() const
|
||||
{
|
||||
return m_ui->pidLineEdit->text().toInt();
|
||||
return m_ui->pidLineEdit->text().toLongLong();
|
||||
}
|
||||
|
||||
void AttachExternalDialog::pidChanged(const QString &pid)
|
||||
|
||||
Reference in New Issue
Block a user