Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.2.1
-
None
-
Using QTCreator 4.2.1 on Windows 10 with MinGW 5.3 as installed and configured by the online installer.
-
99ac955664efa1c99a25e8df5aff09f55abb301c
Description
Take a pointer and try to Change the Local Display Format to show it as an Array of 10 items. Instead of dereferencing the pointer and displaying 10 consecutive items at that memory address, the debugger tries to who you 10 items starting at the address of the pointer variable on the stack.
This image shows examining a pointer on the stack:
Note that the pointer holds the address 0xc912a0 and is located at 0x0029feac. Then I try do display as Array of 10 items and get:
The base address of it is displaying is 0x0029feac and the first value it is displaying is the address 0xc912a0 displayed as a decimal 13177504.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-18204 GDB debugger wrapper does not correctly display pointers as arrays.
- Closed
For Gerrit Dashboard: QTCREATORBUG-17803 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
194619,2 | Debugger: Fix display of pointers as arrays | 4.3 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |