Commit 44ba5ce3 authored by Eike Ziller's avatar Eike Ziller Committed by Fawzi Mohamed
Browse files

Fix debugging in iOS Simulator

Broke with 3bafbe71


We need to have the attachPid set with the inferiorPid after we got it
from the iossim tool.

Task-number: QTCREATORBUG-13261
Change-Id: I4f876817bed5566b5025d23416dd85676bc2e68b
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent 187d1f69
......@@ -866,6 +866,9 @@ void DebuggerEngine::notifyEngineRemoteSetupFinished(const RemoteSetupResult &re
rc.replace(sepIndex + 1, rc.count() - sepIndex - 1,
QString::number(result.gdbServerPort));
}
} else if (result.inferiorPid != InvalidPid && startParameters().startMode == AttachExternal) {
// e.g. iOS Simulator
startParameters().attachPID = result.inferiorPid;
}
if (result.qmlServerPort != InvalidPort) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment