-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.5.0-rc1
-
Windows 7 64 bit
Qt 5.5.0
MSVC2013 32 bit
cdb 6.12
- Build the following code with MSVC2013:
QString str = "Hello "; str += " big, "; str += "\t"; str += "\r"; str += "\n"; str += QLatin1Char(0); str += QLatin1Char(1); str += " fat "; str += " World"; str.prepend("Prefix: ");
(Taken from function void testQString1() in tests\manual\debugger\simple\simple_test_app.cpp:3980.)
- Step through it with cdb.
- Look at the value displayed for str in Locals and Expressions view.
You'll never see the " fat World" part. The displayed value ends at the 0.
Creator should show the whole string. When compiling with MinGW and using gdb, this works correctly.