forked from qt-creator/qt-creator
Debugger: Move putPlainChildren() to Dumper base
It's reusable... Change-Id: I1a0f40b9b3bbecf99024d3a2fd5148baf604109b Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -550,6 +550,13 @@ class DumperBase:
|
||||
self.putSubItem("first", key)
|
||||
self.putSubItem("second", value)
|
||||
|
||||
def putPlainChildren(self, value, dumpBase = True):
|
||||
self.putEmptyValue(-99)
|
||||
self.putNumChild(1)
|
||||
if self.isExpanded():
|
||||
with Children(self):
|
||||
self.putFields(value, dumpBase)
|
||||
|
||||
def isMapCompact(self, keyType, valueType):
|
||||
format = self.currentItemFormat()
|
||||
if format == 2:
|
||||
|
||||
Reference in New Issue
Block a user