Commit 76b50956 authored by hjk's avatar hjk

Debugger: Also display subentries for pretty printed char arrays

While the formatted value is usually all that's wanted,
having access to the individual chars is handy at times.

Change-Id: I53b0d0ccfe4289b9b54a1caced4e0bd5ac66d9fc
Reviewed-by: default avatarNiels Weber <niels.weber@theqtcompany.com>
parent 1b417fd7
......@@ -587,7 +587,6 @@ class DumperBase:
encodingType = Hex8EncodedLittleEndian
displayType = DisplayUtf16String
self.putNumChild(0)
self.putValue(mem, encodingType, elided=elided)
if displayFormat == SeparateLatin1StringFormat \
......
......@@ -4613,7 +4613,9 @@ void tst_Dumpers::dumper_data()
"unused(&s, &t, &w);\n")
+ CheckType("s", "char [5]")
+ Check("s.0", "[0]", "97", "char")
+ CheckType("t", "char [6]")
+ Check("t.0", "[0]", "97", "char")
+ CheckType("w", "wchar_t [4]");
......
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