Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.4.1, Qt Creator 4.5.0-beta1, Qt Creator 4.5.0-rc1, Qt Creator 4.5.1, Qt Creator 4.6.0-beta1, Qt Creator 4.6.0 , Qt Creator 4.6.1, Qt Creator 4.6.2, Qt Creator 4.7.0-beta1, Qt Creator 4.7.0-beta2, Qt Creator 4.7.0, Qt Creator 4.7.1, Qt Creator 4.8.0-beta1
-
None
-
Windows 10 64 bits
Visual Studio 2015 C++ compiler
-
5a8b198b9a76d63854bebaa364aae9780890b2fb (qt-creator/qt-creator/4.8) e6190babdbb2f5d9ea2ef6e5fcf6e7ad00c91847 (qt-creator/qt-creator/master)
Description
Using the Python dumper, when an array inside a struct is accessed with the same name
as a local array. The debugger shows the wrong contents in the local array, it shows the data of the array inside the struct.
See the attached example code and the output screenshots of the debugger with the Debug helper enabled / disabled
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-20639 Debugger displays multidimensional arrays incorrectly
- Closed
- relates to
-
QTCREATORBUG-20756 Debugger sorts array elements lexicographically, not numerically
- Closed
- resulted in
-
QTCREATORBUG-21074 Debugger incorrectly says a std::vector has 0 elements
- Closed
For Gerrit Dashboard: QTCREATORBUG-19356 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
248040,4 | Debugger: Fix display of multidimensional C arrays | 4.8 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
271959,3 | Debugger: skip child items when looking for partial variables | 4.10 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |