Notify disconnect to debug server when inferiorshutdownrequested

Change-Id: I15bb1342f647362cb00e4b0d0453b663a2d3f637
Reviewed-on: http://codereview.qt.nokia.com/3095
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-17 13:42:41 +02:00
parent 22e65369cf
commit 879766d85c
6 changed files with 24 additions and 3 deletions

View File

@@ -192,6 +192,18 @@ void QmlV8DebuggerClient::interruptInferior()
}
void QmlV8DebuggerClient::shutdownInferior()
{
QByteArray request;
JsonInputStream(request) << '{' << INITIALPARAMS ;
JsonInputStream(request) << ',' << "command" << ':' << "disconnect";
JsonInputStream(request) << '}';
sendMessage(packMessage(request));
}
void QmlV8DebuggerClient::activateFrame(int index)
{
setLocals(index);