forked from qt-creator/qt-creator
Debugger: Fix crash in combined debugging
Fixes regression introduced in f8ad72deb3
: Slave engines don't
have a RunControl pointer of their own, use the master pointer.
Change-Id: I1c695a1454cafc3532fb1b79374fac4f3ead607e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1434,7 +1434,7 @@ void DebuggerEngine::notifyInferiorPid(qint64 pid)
|
||||
return;
|
||||
d->m_inferiorPid = pid;
|
||||
if (pid) {
|
||||
d->m_runControl->setApplicationProcessHandle(ProcessHandle(pid));
|
||||
runControl()->setApplicationProcessHandle(ProcessHandle(pid));
|
||||
showMessage(tr("Taking notice of pid %1").arg(pid));
|
||||
if (d->m_runParameters.startMode == StartInternal
|
||||
|| d->m_runParameters.startMode == StartExternal
|
||||
|
Reference in New Issue
Block a user