Commit 64440ac3 authored by hjk's avatar hjk
Browse files

Debugger: Fix part of 2.7 regression in QObject dumper



For e.g. QMap<uint, float>, std::stack<int *>, 73 pass, 103 fail.

Change-Id: I14f68ad59d10e9751d09ed6e0f959d2a78d53822
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 8308af95
......@@ -965,7 +965,10 @@ def qdump__QObject(d, value):
with Children(d):
d.putFields(value)
return
#warn("OBJECTNAME: %s " % objectName)
dd = value["d_ptr"]["d"]
d_ptr = dd.cast(privateType.pointer()).dereference()
#warn("D_PTR: %s " % d_ptr)
mo = d_ptr["metaObject"]
if not isAccessible(mo):
......@@ -989,8 +992,8 @@ def qdump__QObject(d, value):
#warn("METADATA: %s " % metaData)
#warn("STRINGDATA: %s " % metaStringData)
#warn("TYPE: %s " % value.type)
#warn("INAME: %s " % d.currentIName())
#d.putEmptyValue()
#warn("INAME: %s " % d.currentIName)
d.putEmptyValue()
#QSignalMapper::staticMetaObject
#checkRef(d_ptr["ref"])
d.putNumChild(4)
......
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