forked from qt-creator/qt-creator
Debugger: Add a backend specific Dumper.hasChildWithName
Change-Id: I89432915f2b6eb52e706d344b9e7998e1f96ab1f Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -717,6 +717,13 @@ class Dumper(DumperBase):
|
||||
def call(self, value, func, *args):
|
||||
return self.call2(value, func, args)
|
||||
|
||||
def hasChildWithName(self, value, name):
|
||||
try:
|
||||
value[name]
|
||||
return True
|
||||
except:
|
||||
return False
|
||||
|
||||
def makeValue(self, type, init):
|
||||
type = "::" + stripClassTag(str(type));
|
||||
# Avoid malloc symbol clash with QVector.
|
||||
|
||||
Reference in New Issue
Block a user