-
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
- Let cdb stop at a breakpoint behind this code:
QVariant var; var.setValue(QString("Hello 10"));
- Look at the value displayed for var in Locals and Expressions view:
Locals var (QString) QVariant d struct QVariant::Private QVariant::Private data union QVariant::Private::Data union QVariant::Private::Data c 96 '`' char uc 96 '`' unsigned char s 32608 short sc 96 '`' char us 32608 unsigned short i 9469792 int u 9469792 unsigned int l 9469792 long ul 9469792 unsigned long b true bool d 5.8733258289605015e-306 double f 1.327000499e-038 float real 5.8733258289605015e-306 double ll 40672446949392224 int64 ull 40672446949392224 unsigned int64 o 0x907f60 QObject * ptr 0x907f60 void * shared 0x907f60 QVariant::PrivateShared * type 10 unsigned int is_shared 0 unsigned int is_null 0 unsigned int Inspector Expressions Return Value Tooltip
The string "Hello 10" can't be seen anywhere.
Creator should show the string. When compiling with MinGW and using gdb, this works correctly.