forked from qt-creator/qt-creator
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:
committed by
Fawzi Mohamed
parent
187d1f69fd
commit
44ba5ce3fd
@@ -866,6 +866,9 @@ void DebuggerEngine::notifyEngineRemoteSetupFinished(const RemoteSetupResult &re
|
|||||||
rc.replace(sepIndex + 1, rc.count() - sepIndex - 1,
|
rc.replace(sepIndex + 1, rc.count() - sepIndex - 1,
|
||||||
QString::number(result.gdbServerPort));
|
QString::number(result.gdbServerPort));
|
||||||
}
|
}
|
||||||
|
} else if (result.inferiorPid != InvalidPid && startParameters().startMode == AttachExternal) {
|
||||||
|
// e.g. iOS Simulator
|
||||||
|
startParameters().attachPID = result.inferiorPid;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.qmlServerPort != InvalidPort) {
|
if (result.qmlServerPort != InvalidPort) {
|
||||||
|
|||||||
Reference in New Issue
Block a user