From ff6296f3cbd486b47d345fb8b753a77c83bd4e96 Mon Sep 17 00:00:00 2001 From: hjk <hjk121@nokiamail.com> Date: Tue, 23 Apr 2013 17:28:16 +0200 Subject: [PATCH] Debugger: Improve internal dumpers for GdbMi and BreakpointId Change-Id: I26d20a1e592254c09e865528b2fa31cc20bcae54 Reviewed-by: hjk <hjk121@nokiamail.com> --- share/qtcreator/dumper/qttypes.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/dumper/qttypes.py b/share/qtcreator/dumper/qttypes.py index cfb74e36f85..45f15aa26c9 100644 --- a/share/qtcreator/dumper/qttypes.py +++ b/share/qtcreator/dumper/qttypes.py @@ -2574,7 +2574,8 @@ def qdump__Core__Id(d, value): d.putNumChild(0) def qdump__Debugger__Internal__GdbMi(d, value): - d.putByteArrayValue(value["m_data"]) + str = encodeByteArray(value["m_name"]) + "3a20" + encodeByteArray(value["m_data"]) + d.putValue(str, Hex2EncodedLatin1) d.putPlainChildren(value) def qdump__Debugger__Internal__WatchData(d, value): @@ -2585,6 +2586,10 @@ def qdump__Debugger__Internal__WatchItem(d, value): d.putByteArrayValue(value["iname"]) d.putPlainChildren(value) +def qdump__Debugger__DebuggerEngine__BreakpointModelId(d, value): + d.putValue("%s.%s" % (value["m_majorPart"], value["m_minorPart"])) + d.putPlainChildren(value) + def qdump__CPlusPlus__ByteArrayRef(d, value): d.putValue(encodeCharArray(value["m_start"], 100, value["m_length"]), Hex2EncodedLatin1) -- GitLab