Debugger: Disable item model dumper for LLDB

Needs better infrastructure.

Change-Id: I53a53953bd347c296626c03636775f6057faf385
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2014-01-22 16:25:39 +01:00
parent 3dc74ecb93
commit d8e132d15d
2 changed files with 11 additions and 1 deletions

View File

@@ -413,6 +413,16 @@ class Dumper(DumperBase):
#warn(" -> %s" % result)
return result
def makeValue(self, type, *args):
thread = self.currentThread()
frame = thread.GetFrameAtIndex(0)
inner = ','.join(args)
value = frame.EvaluateExpression(type + '{' + inner + '}')
#warn(" TYPE: %s" % value.type)
#warn(" ADDR: 0x%x" % value.address)
#warn(" VALUE: %s" % value)
return value
def parseAndEvaluate(self, expr):
thread = self.currentThread()
frame = thread.GetFrameAtIndex(0)