From 252b03b7bb1ded114b16f24af53d7100a668cef3 Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Mon, 22 Mar 2010 11:53:02 +0100 Subject: [PATCH] debugger: fix std::map<..., BigStruct> dumper --- share/qtcreator/gdbmacros/gdbmacros.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/qtcreator/gdbmacros/gdbmacros.py b/share/qtcreator/gdbmacros/gdbmacros.py index 896d943093b..cda5a040f98 100644 --- a/share/qtcreator/gdbmacros/gdbmacros.py +++ b/share/qtcreator/gdbmacros/gdbmacros.py @@ -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() -- GitLab