Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
Qt Creator 4.6.2
-
None
Description
When an array is expanded in the debugger, the element indices are shown as [0], [1], [2], etc. However it seems to be treating the element indices as ordinary variable names and sorting them lexicographically rather than keeping them in the order that the elements appear in the array.
For example, if you have an array with 12 elements you will see:
[0] [1] [10] <--\ [11] <---+- these should be after element [9] !! [12] <--/ [2] [3] [4] [5] [6] [7] [8] [9]
I'm using the CDB debugging support on Windows with MSVC rather than MinGW. I don't have the python dumper enabled.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-19356 Python dumper shows wrong array contents
-
- Closed
-
- resulted from
-
QTCREATORBUG-16092 Debugger array inspector have incorrect order with arrays more than 9 elements
-
- Closed
-