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

@@ -192,7 +192,7 @@ void QmlV8DebuggerClient::interruptInferior()
}
void QmlV8DebuggerClient::connect()
void QmlV8DebuggerClient::startSession()
{
QByteArray request;
@@ -204,7 +204,7 @@ void QmlV8DebuggerClient::connect()
sendMessage(packMessage(request));
}
void QmlV8DebuggerClient::disconnect()
void QmlV8DebuggerClient::endSession()
{
QByteArray request;