From b4ca00bb694887620cb12fd34fd38be153b5a707 Mon Sep 17 00:00:00 2001
From: Aurindam Jana <aurindam.jana@nokia.com>
Date: Fri, 16 Dec 2011 13:21:30 +0100
Subject: [PATCH] Fix build break

Change-Id: I78825294251b364b471b37479f3ae57893e4f903
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
---
 src/plugins/debugger/qml/qmlv8debuggerclient.cpp | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp
index 3cc1ff85b25..219dbc1e396 100644
--- a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp
+++ b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp
@@ -1306,10 +1306,9 @@ 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()));
+                    d->logReceiveMessage(QString(_("Using V8 Version: %1")).arg(
+                                             resp.value(_(BODY)).toMap().
+                                             value(_("V8Version")).toString()));
 
                 } else if (debugCommand == _(V8FLAGS)) {
                 } else if (debugCommand == _(GARBAGECOLLECTOR)) {
@@ -1392,7 +1391,7 @@ void QmlV8DebuggerClient::updateStack(const QVariant &bodyVal, const QVariant &r
 
     int fromFrameIndex = body.value(_("fromFrame")).toInt();
 
-    QTC_ASSERT(0 == fromFrameIndex);
+    QTC_ASSERT(0 == fromFrameIndex, return);
 
     StackHandler *stackHandler = d->engine->stackHandler();
     StackFrames stackFrames;
-- 
GitLab