forked from qt-creator/qt-creator
Debugger: Enable QObject property display with LLDB
Finally. Change-Id: I3257ffbb23ca2ea4eec9a97335a95580c9c4482b Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user