diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-16 11:33:16 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-16 11:45:50 (GMT) |
commit | f7a501515fcf1dafecb88a40e18721ea14fd0a13 (patch) | |
tree | 8f36b6de76f9dc3d650fbd4c6a58b30773459328 /src/declarative/debugger/qdeclarativedebug.cpp | |
parent | 7e395e4f5a89dd43d1b7b88f12e0fa4107756d54 (diff) | |
download | Qt-f7a501515fcf1dafecb88a40e18721ea14fd0a13.zip Qt-f7a501515fcf1dafecb88a40e18721ea14fd0a13.tar.gz Qt-f7a501515fcf1dafecb88a40e18721ea14fd0a13.tar.bz2 |
QtDeclarative debugging: Add an option not to stream the properties of an object.
Streaming all the properties is too slow, and we do not need them
in the debugger of creator.
Reviewed-by: Lasse Holmstedt
Diffstat (limited to 'src/declarative/debugger/qdeclarativedebug.cpp')
-rw-r--r-- | src/declarative/debugger/qdeclarativedebug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/debugger/qdeclarativedebug.cpp b/src/declarative/debugger/qdeclarativedebug.cpp index b950aef..154df51 100644 --- a/src/declarative/debugger/qdeclarativedebug.cpp +++ b/src/declarative/debugger/qdeclarativedebug.cpp @@ -507,7 +507,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; @@ -530,7 +530,7 @@ QDeclarativeDebugObjectQuery *QDeclarativeEngineDebug::queryObjectRecursive(cons QByteArray message; QDataStream ds(&message, QIODevice::WriteOnly); ds << QByteArray("FETCH_OBJECT") << queryId << object.debugId() - << true; + << true << true; d->client->sendMessage(message); } else { query->m_state = QDeclarativeDebugQuery::Error; |