From faa38be87c9a9afc0ddc7672b655521ac829bb5f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint <Friedemann.Kleint@nokia.com> Date: Fri, 13 Aug 2010 14:50:39 +0200 Subject: [PATCH] Debugger[Python]: Deactivate QObject-Properties temporarily due to it causing Windows gdb to crash. Reviewed-by: hjk --- share/qtcreator/gdbmacros/dumper.py | 10 +--------- share/qtcreator/gdbmacros/gdbmacros.py | 1 - 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py index d49e1682fe0..903efc214f0 100644 --- a/share/qtcreator/gdbmacros/dumper.py +++ b/share/qtcreator/gdbmacros/dumper.py @@ -1327,11 +1327,7 @@ class Dumper: typedefStrippedType).replace("::", "__") # Is this derived from QObject? - try: - item.value['staticMetaObject'] - hasMetaObject = True - except: - hasMetaObject = False + hasMetaObject = False #warn(" STRIPPED: %s" % nsStrippedType) #warn(" DUMPERS: %s" % self.dumpers) @@ -1343,10 +1339,6 @@ class Dumper: self.putValue(value) self.putNumChild(0) - elif hasMetaObject and self.useFancy: - self.putType(item.value.type) - qdump__QObject(self, item) - elif nsStrippedType in self.dumpers: #warn("IS DUMPABLE: %s " % type) self.putType(item.value.type) diff --git a/share/qtcreator/gdbmacros/gdbmacros.py b/share/qtcreator/gdbmacros/gdbmacros.py index 4db5d3850c9..295dd4e3ff1 100644 --- a/share/qtcreator/gdbmacros/gdbmacros.py +++ b/share/qtcreator/gdbmacros/gdbmacros.py @@ -614,7 +614,6 @@ def qdump__QObject(d, item): d.putNumChild(4) if d.isExpanded(item): with Children(d): - d.putFields(item) # Parent and children. d.putItem(Item(d_ptr["parent"], item.iname, "parent", "parent")) d.putItem(Item(d_ptr["children"], item.iname, "children", "children")) -- GitLab