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.