forked from qt-creator/qt-creator
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:
@@ -607,6 +607,9 @@ class Dumper(DumperBase):
|
||||
self.currentValuePriority = priority
|
||||
self.currentValueEncoding = None
|
||||
|
||||
def putSimpleValue(self, value, encoding = None, priority = 0):
|
||||
self.putValue(value.GetValue(), encoding, priority)
|
||||
|
||||
def putValue(self, value, encoding = None, priority = 0):
|
||||
# Higher priority values override lower ones.
|
||||
if priority >= self.currentValuePriority:
|
||||
|
||||
Reference in New Issue
Block a user