debugger: move m_inferiorPid from DebuggerManager to DebuggerRunControl

This commit is contained in:
hjk
2010-06-15 12:47:37 +02:00
parent 25c11c4ce0
commit a4f412388d
9 changed files with 37 additions and 39 deletions

View File

@@ -1259,11 +1259,11 @@ void CdbDebugEngine::slotConsoleStubStarted()
const qint64 appPid = m_d->m_consoleStubProc.applicationPID();
if (debugCDB)
qDebug() << Q_FUNC_INFO << appPid;
// Attach to console process
// Attach to console process.
QString errorMessage;
if (startAttachDebugger(appPid, AttachExternal, &errorMessage)) {
m_d->startWatchTimer();
manager()->notifyInferiorPidChanged(appPid);
runControl()->notifyInferiorPid(appPid);
} else {
QMessageBox::critical(DebuggerUISwitcher::instance()->mainWindow(), tr("Debugger Error"), errorMessage);
}