forked from qt-creator/qt-creator
QML JS Debugger: Asynchronous call to watchHandler()->endCycle()
All the expended item need to be retreived before we can call endCycle
This commit is contained in:
@@ -408,6 +408,13 @@ void JSDebuggerAgent::messageReceived(const QByteArray& message)
|
||||
}
|
||||
state = oldState;
|
||||
//TODO: feedback
|
||||
} else if (command == "PING") {
|
||||
int ping;
|
||||
ds >> ping;
|
||||
QByteArray reply;
|
||||
QDataStream rs(&reply, QIODevice::WriteOnly);
|
||||
rs << QByteArray("PONG") << ping;
|
||||
sendMessage(reply);
|
||||
} else {
|
||||
qDebug() << Q_FUNC_INFO << "Unknown command" << command;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user