Commit 599f459e authored by hjk's avatar hjk
Browse files

debugger: partial fix for new QObject dumper

parent 8328896c
...@@ -642,6 +642,7 @@ def qdump__QObject(d, item): ...@@ -642,6 +642,7 @@ def qdump__QObject(d, item):
for connection in xrange(connectionCount): for connection in xrange(connectionCount):
d.beginHash() d.beginHash()
d.putField("iname", "%s.connections.%d" % (item.iname, connection))
d.putName("connection %d" % connection) d.putName("connection %d" % connection)
d.putValue("") d.putValue("")
d.endHash() d.endHash()
...@@ -664,6 +665,7 @@ def qdump__QObject(d, item): ...@@ -664,6 +665,7 @@ def qdump__QObject(d, item):
for signal in xrange(signalCount): for signal in xrange(signalCount):
d.beginHash() d.beginHash()
offset = metaData[14 + 5 * signal] offset = metaData[14 + 5 * signal]
d.putField("iname", "%s.signals.%d" % (item.iname, signal))
d.putName("signal %d" % signal) d.putName("signal %d" % signal)
d.putType(" ") d.putType(" ")
d.putValue(extractCString(metaStringData, offset)) d.putValue(extractCString(metaStringData, offset))
...@@ -686,6 +688,7 @@ def qdump__QObject(d, item): ...@@ -686,6 +688,7 @@ def qdump__QObject(d, item):
for slot in xrange(slotCount): for slot in xrange(slotCount):
d.beginHash() d.beginHash()
offset = metaData[14 + 5 * (signalCount + slot)] offset = metaData[14 + 5 * (signalCount + slot)]
d.putField("iname", "%s.slots.%d" % (item.iname, slot))
d.putName("slot %d" % slot) d.putName("slot %d" % slot)
d.putType(" ") d.putType(" ")
d.putValue(extractCString(metaStringData, offset)) d.putValue(extractCString(metaStringData, offset))
......
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