Commit 252b03b7 authored by hjk's avatar hjk

debugger: fix std::map<..., BigStruct> dumper

parent 41ddb966
......@@ -1804,9 +1804,9 @@ def qdump__std__map(d, item):
d.putValue(" ")
if d.isExpandedIName("%s.%d" % (item.iname, i)):
d.beginChildren(2, None)
iname = "%s.%d." % (item.iname, i)
keyItem = Item(pair["first"], iname + "key", "key", "first")
valueItem = Item(pair["second"], iname + "value", "value", "second")
iname = "%s.%d" % (item.iname, i)
keyItem = Item(pair["first"], iname, "first", "first")
valueItem = Item(pair["second"], iname, "second", "second")
d.putItem(keyItem)
d.putItem(valueItem)
d.endChildren()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment