Debugger: Improve QSharedPointer dumper

Make it work with LLDB, show simple values always directly.

Change-Id: I463ef81183792f85243d679dee69a41db00bed07
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2013-10-24 13:27:10 +02:00
parent 7a443ace0d
commit cd3c084df3
4 changed files with 11 additions and 6 deletions
+3
View File
@@ -1362,6 +1362,9 @@ class Dumper(DumperBase):
self.currentValuePriority = priority
self.currentValueEncoding = None
def putSimpleValue(self, value, encoding = None, priority = 0):
self.putValue(value, encoding, priority)
def putValue(self, value, encoding = None, priority = 0):
# Higher priority values override lower ones.
if priority >= self.currentValuePriority: