forked from qt-creator/qt-creator
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:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user