QML Debugger: set the new dumpProperty flag to false

Dumping property is too slow and introduces noticable leaks

In order to work, this optimisation needs f7a501515fcf1dafecb88
from Qt.  (else it will not get optimized)
This commit is contained in:
Olivier Goffart
2010-08-16 12:17:38 +02:00
parent 2d64eb846b
commit 0b72a9efab

View File

@@ -539,7 +539,7 @@ QDeclarativeDebugObjectQuery *QDeclarativeEngineDebug::queryObject(const QDeclar
QByteArray message;
QDataStream ds(&message, QIODevice::WriteOnly);
ds << QByteArray("FETCH_OBJECT") << queryId << object.debugId()
<< false;
<< false << true;
d->client->sendMessage(message);
} else {
query->m_state = QDeclarativeDebugQuery::Error;
@@ -562,7 +562,8 @@ QDeclarativeDebugObjectQuery *QDeclarativeEngineDebug::queryObjectRecursive(cons
QByteArray message;
QDataStream ds(&message, QIODevice::WriteOnly);
ds << QByteArray("FETCH_OBJECT") << queryId << object.debugId()
<< true;
<< true << false; //Note: this is different from the QDeclarativeEngineDebug in Qt,
// dumping all the properties is slow, and make noticable lags
d->client->sendMessage(message);
} else {
query->m_state = QDeclarativeDebugQuery::Error;