Debugger: Enable QObject property display with LLDB

Finally.

Change-Id: I3257ffbb23ca2ea4eec9a97335a95580c9c4482b
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2014-01-24 17:02:23 +01:00
parent 864e61d63f
commit cc3facd944
4 changed files with 26 additions and 32 deletions
+4 -6
View File
@@ -347,7 +347,7 @@ class DumperBase:
return base64.b16encode(s).decode("utf8")
#def toBlob(self, value):
# return self.extractBlob(value.address, value.type.sizeof)
# """Abstract"""
def isArmArchitecture(self):
return False
@@ -897,7 +897,8 @@ class DumperBase:
return True
except:
self.knownNonQObjectTypes.insert(str(value.type))
#warn("NO QOBJECT: %s" % value.type)
#self.knownNonQObjectTypes.add(str(value.type))
pass
@@ -921,10 +922,7 @@ class DumperBase:
# This is called is when a QObject derived class is expanded
def putQObjectGuts(self, qobject):
smo = self.childWithName(qobject, "staticMetaObject")
if smo is None:
return
def putQObjectGuts(self, qobject, smo):
with SubItem(self, "[properties]"):
propertyNames = self.staticQObjectPropertyNames(smo)
propertyCount = len(propertyNames)