Debugger: Fix display of children in GDB's PlainDumper

The 'putSubItem' method expects an object of the
Value class as defined in 'dumper.py'.
Therefore, create such an object for the gdb.Value
when passing it into the method.

Task-number: QTCREATORBUG-21000
Change-Id: I5277f832ee2aae808824f3dcf728fdaa0e2a3c78
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Michael Weghorn
2018-08-25 23:32:16 +02:00
parent c7f0285c4c
commit 1ae96a9090
+1 -1
View File
@@ -152,7 +152,7 @@ class PlainDumper:
if d.isExpanded():
with Children(d):
for child in children:
d.putSubItem(child[0], child[1])
d.putSubItem(child[0], d.fromNativeValue(child[1]))
def importPlainDumpers(args):
if args == 'off':