Debugger: Fix PPToken dumper

Done-by: hjk <qthjk@ovi.com>

Change-Id: Iaccb29d4c74922337ada05971bb392a1458c94ef
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Nikolai Kosjar
2013-08-07 16:04:57 +02:00
committed by hjk
parent 5dc51b3e1f
commit 92afe048ef

View File

@@ -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)