forked from qt-creator/qt-creator
Debugger: Fix PPToken dumper
Done-by: hjk <qthjk@ovi.com> Change-Id: Iaccb29d4c74922337ada05971bb392a1458c94ef Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -2941,7 +2941,7 @@ def qdump__CPlusPlus__Internal__PPToken(d, value):
|
||||
offset = int(value["offset"])
|
||||
#warn("size: %s, alloc: %s, offset: %s, length: %s, data: %s"
|
||||
# % (size, alloc, offset, length, data))
|
||||
d.putValue(encodeCharArray(data + offset, 100, length),
|
||||
d.putValue(d.readRawMemory(data + offset, min(100, length)),
|
||||
Hex2EncodedLatin1)
|
||||
d.putPlainChildren(value)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user