From bdb2e751e03234c43f8ed13e644d727f095c4e06 Mon Sep 17 00:00:00 2001
From: Olivier Goffart <olivier.goffart@nokia.com>
Date: Thu, 22 Jul 2010 15:32:39 +0200
Subject: [PATCH] remove some qDebug()

---
 src/plugins/debugger/qml/qmlengine.cpp | 11 +----------
 src/plugins/debugger/qml/qmlengine.h   |  1 -
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp
index 6ef8f1b64c1..0d456ae021f 100644
--- a/src/plugins/debugger/qml/qmlengine.cpp
+++ b/src/plugins/debugger/qml/qmlengine.cpp
@@ -331,7 +331,6 @@ void QmlEngine::setupConnection()
  #endif
 
     notifyEngineRunAndInferiorStopOk();
-    qDebug() << "CONNECTION SUCCESSFUL";
 
 //    reloadEngines();
 //    continueInferior();
@@ -352,7 +351,6 @@ void QmlEngine::continueInferior()
 
 void QmlEngine::interruptInferior()
 {
-    qDebug() << "INTERRUPT";
     QByteArray reply;
     QDataStream rs(&reply, QIODevice::WriteOnly);
     rs << QByteArray("INTERRUPT");
@@ -520,17 +518,11 @@ void QmlEngine::assignValueInDebugger(const QString &expression,
     const QString &value)
 {
     XSDEBUG("ASSIGNING: " << expression + '=' + value);
-    updateLocals();
-}
-
-void QmlEngine::updateLocals()
-{
-    qDebug() << "UPDATE LOCALS";
 }
 
 void QmlEngine::updateWatchData(const WatchData &data)
 {
-    qDebug() << "UPDATE WATCH DATA" << data.toString();
+//    qDebug() << "UPDATE WATCH DATA" << data.toString();
     //watchHandler()->rebuildModel();
     showStatusMessage(tr("Stopped."), 5000);
 
@@ -659,7 +651,6 @@ void QmlEngine::messageReceived(const QByteArray &message)
         watchHandler()->beginCycle();
         foreach (WatchData data, locals) {
             data.iname = "local." + data.exp;
-            qDebug() << data.iname << data.value;
             watchHandler()->insertData(data);
             if (watchHandler()->expandedINames().contains(data.iname))
                 expandObject(data.iname, data.objectId);
diff --git a/src/plugins/debugger/qml/qmlengine.h b/src/plugins/debugger/qml/qmlengine.h
index 49fe81caabf..7b44d8be7a6 100644
--- a/src/plugins/debugger/qml/qmlengine.h
+++ b/src/plugins/debugger/qml/qmlengine.h
@@ -119,7 +119,6 @@ private:
     bool supportsThreads() const { return true; }
     void maybeBreakNow(bool byFunction);
     void updateWatchData(const WatchData &data);
-    void updateLocals();
 
     unsigned int debuggerCapabilities() const;
 
-- 
GitLab