Commit ff6296f3 authored by hjk's avatar hjk

Debugger: Improve internal dumpers for GdbMi and BreakpointId

Change-Id: I26d20a1e592254c09e865528b2fa31cc20bcae54
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 2cb48a14
......@@ -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)
......
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