Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.0.2
-
None
-
Qt 5.7.0 MSVC 2015 32bit
QtCreator 4.0.2
CDB version: 10.0.10586.567 (32 bit)
-
9ce19c5dacfece96bd2377e06dfd72e9ce27a4e7
Description
When I try to debug a QList that contains a user defined class/struct with member variables, it shows wrong/random values instead of what was set. If I print QList's contents to console they are shown correctly.
See attachments for code.
Put a breakpoint on the return line in main. When I run and look at the Locals and Expressions view the list contains a Classy with some random number, not 12.
Note: I think this only affects QList, I have also tried with QVector and QStack, both worked correctly for me.
Attachments
For Gerrit Dashboard: QTCREATORBUG-16750 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
168716,4 | Cdb: Fix QList child dumper | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
170126,3 | Cdb: Fix QList child dumper | 4.1 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |