Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.0.0-rc1
-
None
-
Windows 7 64 bit
MinGW 4.9
gdb 7.8
-
e56e6b0ca9c0889aa7a7d4200652153dde02e75c
Description
- Open "simple" project from tests\manual\debugger\simple\simple.pro in Creator's repository.
- Place a breakpoint at BREAK_HERE in testTypeFormats() (line 5370).
- Let the debugger run into this breakpoint.
In Locals and Expressions view, you can see the values. For the wchar_t * string only the value of the first element is being shown whereas for the char * string, all elements are being shown:s "aöa" char * w 0x458954 wchar_t * (They are not shown correctly, but that's
QTCREATORBUG-16029.)
Expanding "w" still only shows the first element. To see more, you need to set the format to "Array of 10 items".
Strings should be displayed correctly and consistently by default.