forked from qt-creator/qt-creator
Debugger[Python]: Deactivate QObject-Properties temporarily
due to it causing Windows gdb to crash. Reviewed-by: hjk
This commit is contained in:
@@ -1327,10 +1327,6 @@ class Dumper:
|
|||||||
typedefStrippedType).replace("::", "__")
|
typedefStrippedType).replace("::", "__")
|
||||||
|
|
||||||
# Is this derived from QObject?
|
# Is this derived from QObject?
|
||||||
try:
|
|
||||||
item.value['staticMetaObject']
|
|
||||||
hasMetaObject = True
|
|
||||||
except:
|
|
||||||
hasMetaObject = False
|
hasMetaObject = False
|
||||||
|
|
||||||
#warn(" STRIPPED: %s" % nsStrippedType)
|
#warn(" STRIPPED: %s" % nsStrippedType)
|
||||||
@@ -1343,10 +1339,6 @@ class Dumper:
|
|||||||
self.putValue(value)
|
self.putValue(value)
|
||||||
self.putNumChild(0)
|
self.putNumChild(0)
|
||||||
|
|
||||||
elif hasMetaObject and self.useFancy:
|
|
||||||
self.putType(item.value.type)
|
|
||||||
qdump__QObject(self, item)
|
|
||||||
|
|
||||||
elif nsStrippedType in self.dumpers:
|
elif nsStrippedType in self.dumpers:
|
||||||
#warn("IS DUMPABLE: %s " % type)
|
#warn("IS DUMPABLE: %s " % type)
|
||||||
self.putType(item.value.type)
|
self.putType(item.value.type)
|
||||||
|
@@ -614,7 +614,6 @@ def qdump__QObject(d, item):
|
|||||||
d.putNumChild(4)
|
d.putNumChild(4)
|
||||||
if d.isExpanded(item):
|
if d.isExpanded(item):
|
||||||
with Children(d):
|
with Children(d):
|
||||||
d.putFields(item)
|
|
||||||
# Parent and children.
|
# Parent and children.
|
||||||
d.putItem(Item(d_ptr["parent"], item.iname, "parent", "parent"))
|
d.putItem(Item(d_ptr["parent"], item.iname, "parent", "parent"))
|
||||||
d.putItem(Item(d_ptr["children"], item.iname, "children", "children"))
|
d.putItem(Item(d_ptr["children"], item.iname, "children", "children"))
|
||||||
|
Reference in New Issue
Block a user