Commit 8303f793 authored by hjk's avatar hjk

Debugger: Force plain transport for non-ASCII char data

Task-number: QTCREATORBUG-11670
Change-Id: Iec5d3c7e73139414c51216ed6767c4524e859329
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 35eb3b15
......@@ -1146,6 +1146,9 @@ class Dumper(DumperBase):
self.putType(typeName)
if value.is_optimized_out:
self.putValue("<optimized out>")
elif type.sizeof == 1:
# Force unadorned value transport for char and Co.
self.putValue(int(value) & 0xff)
else:
self.putValue(value)
self.putNumChild(0)
......
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