Fix debugging in iOS Simulator

Broke with 3bafbe710f
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: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Eike Ziller
2014-10-30 12:38:13 +01:00
committed by Fawzi Mohamed
parent 187d1f69fd
commit 44ba5ce3fd

View File

@@ -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) {