--- a/src/declarative/debugger/qdeclarativedebug.cpp Fri Sep 17 08:34:18 2010 +0300
+++ b/src/declarative/debugger/qdeclarativedebug.cpp Mon Oct 04 01:19:32 2010 +0300
@@ -340,6 +340,8 @@
if (!watch)
return;
emit watch->valueChanged(name, value);
+ } else if (type == "OBJECT_CREATED") {
+ emit q_func()->newObjects();
}
}
@@ -507,7 +509,7 @@
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 +532,7 @@
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;