Debugger: Client Service synchronization

Sends connect command after all initial commands have been sent.
This ensures that the initialization is complete before the start
of the debugging session.

Change-Id: I1903caa9c213fef4e6b40df89a352d80e350a46d
Reviewed-on: http://codereview.qt.nokia.com/3526
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Aurindam Jana
2011-08-24 17:35:07 +02:00
parent 21e50d82df
commit 29c0f0bfef
7 changed files with 18 additions and 14 deletions

View File

@@ -375,7 +375,7 @@ void QmlEngine::handleRemoteSetupFailed(const QString &message)
void QmlEngine::shutdownInferior()
{
d->m_adapter.activeDebuggerClient()->disconnect();
d->m_adapter.activeDebuggerClient()->endSession();
if (isSlaveEngine()) {
resetLocation();