Commit f67fc91b authored by hjk's avatar hjk
Browse files

Debugger: Show index in std::__1::unordered_map entries

Change-Id: Iaaf2ad9e46c88302d523b879558f65b4a86b0e2c
Reviewed-by: default avatarhjk <>
parent ef4e417b
......@@ -640,16 +640,15 @@ def qform__std____1__unordered_map():
return mapForms()
def qdump__std____1__unordered_map(d, value):
n = int(value["__table_"]["__p2_"]["__first_"])
size = int(value["__table_"]["__p2_"]["__first_"])
if d.isExpanded():
node = value["__table_"]["__p1_"]["__first_"]["__next_"]
pairType = node["__value_"].type
with PairedChildren(d, n, pairType, maxNumChild=1000):
with PairedChildren(d, size, pairType, maxNumChild=1000):
for i in d.childRange():
with SubItem(d, i):
pair = node["__value_"]
d.putPair(node["__value_"], i)
node = node["__next_"]
def qdump__std____debug__unordered_set(d, value):
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