forked from qt-creator/qt-creator
Debugger: Improve internal dumpers for GdbMi and BreakpointId
Change-Id: I26d20a1e592254c09e865528b2fa31cc20bcae54 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -2574,7 +2574,8 @@ def qdump__Core__Id(d, value):
|
|||||||
d.putNumChild(0)
|
d.putNumChild(0)
|
||||||
|
|
||||||
def qdump__Debugger__Internal__GdbMi(d, value):
|
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)
|
d.putPlainChildren(value)
|
||||||
|
|
||||||
def qdump__Debugger__Internal__WatchData(d, value):
|
def qdump__Debugger__Internal__WatchData(d, value):
|
||||||
@@ -2585,6 +2586,10 @@ def qdump__Debugger__Internal__WatchItem(d, value):
|
|||||||
d.putByteArrayValue(value["iname"])
|
d.putByteArrayValue(value["iname"])
|
||||||
d.putPlainChildren(value)
|
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):
|
def qdump__CPlusPlus__ByteArrayRef(d, value):
|
||||||
d.putValue(encodeCharArray(value["m_start"], 100, value["m_length"]),
|
d.putValue(encodeCharArray(value["m_start"], 100, value["m_length"]),
|
||||||
Hex2EncodedLatin1)
|
Hex2EncodedLatin1)
|
||||||
|
Reference in New Issue
Block a user