Commit 0b72a9ef authored by Olivier Goffart's avatar Olivier Goffart
Browse files

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)
parent 2d64eb84
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment