Commit 26e97398 authored by hjk's avatar hjk
Browse files

Debugger: Fix LLDB QMap dumper



It needs spaces _exactly_ as found in the debug info.

Change-Id: I3ad0052b364c5c3cfea17d8169de8a235d37b891
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 6aea4225
......@@ -976,7 +976,9 @@ def qdumpHelper__Qt5_QMap(d, value, forceLong):
keyType = d.templateArgument(value.type, 0)
valueType = d.templateArgument(value.type, 1)
isCompact = d.isMapCompact(keyType, valueType)
nodeType = d.lookupType(d.ns + "QMapNode<%s,%s>" % (keyType, valueType))
# Note: The space in the QMapNode lookup below is
# important for LLDB.
nodeType = d.lookupType(d.ns + "QMapNode<%s, %s>" % (keyType, valueType))
if isCompact:
innerType = valueType
else:
......
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