summaryrefslogtreecommitdiff
path: root/src/plugins/debugger
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2017-02-27 13:16:00 +0100
committerTobias Hunger <tobias.hunger@qt.io>2017-02-27 12:34:03 +0000
commitf8ad72deb318f36e87d6862800d13dbfc4d1f78b (patch)
tree7860f65ba73190bcdf942cb373b7fca2a97c1093 /src/plugins/debugger
parentd8d1511be1f611cf5752ad4eb913c73e3e09c4c6 (diff)
downloadqt-creator-f8ad72deb318f36e87d6862800d13dbfc4d1f78b.tar.gz
Debugger: Report PID back to RunControl
Change-Id: I4830d2703de86c3fce8356271a2262c14c8f1307 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger')
-rw-r--r--src/plugins/debugger/debuggerengine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp
index bcdfca1b37..1d53de9e89 100644
--- a/src/plugins/debugger/debuggerengine.cpp
+++ b/src/plugins/debugger/debuggerengine.cpp
@@ -1434,6 +1434,7 @@ void DebuggerEngine::notifyInferiorPid(qint64 pid)
return;
d->m_inferiorPid = pid;
if (pid) {
+ d->m_runControl->setApplicationProcessHandle(ProcessHandle(pid));
showMessage(tr("Taking notice of pid %1").arg(pid));
if (d->m_runParameters.startMode == StartInternal
|| d->m_runParameters.startMode == StartExternal