summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/debugger/qml/qmlv8debuggerclient.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp
index 1135464fc7..3cc1ff85b2 100644
--- a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp
+++ b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp
@@ -974,6 +974,9 @@ void QmlV8DebuggerClient::startSession()
}
flushSendBuffer();
d->connect();
+ //Query for the V8 version. This is
+ //only for logging to the debuggerlog
+ d->version();
}
void QmlV8DebuggerClient::endSession()
@@ -1303,6 +1306,11 @@ void QmlV8DebuggerClient::messageReceived(const QByteArray &data)
} else if (debugCommand == _(SOURCE)) {
} else if (debugCommand == _(SCRIPTS)) {
} else if (debugCommand == _(VERSION)) {
+ d->engine->logMessage(QmlEngine::LogReceive,
+ QString(_("Using V8 Version: %1")).arg(
+ resp.value(_(BODY)).toMap().
+ value(_("V8Version")).toString()));
+
} else if (debugCommand == _(V8FLAGS)) {
} else if (debugCommand == _(GARBAGECOLLECTOR)) {
} else {