Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 8.0.1
-
None
-
-
1a575cd2d (10.0)
Description
Hi there
I found a strange bug in the debugerview.
It frustrated my much because I thougth the pointer will be corrupted by adding it to any list but the program does nothing wrong. (I proofed that) It is the debuger which does something wrong.
As soon as an Pointer Object which inherits from QObject gets added to a list, the displayed pointer to that object will be offseted by 0x10. All member objects of that object will than also be displayed wrong. See Picture 1.
Picture 2 will show you the correct content of the added object.
Picture 3 will show you the same object but inside the std::vector. (Visual corrupted but in real its all fine)
Picture 4 will show you, that the same is happening on an QList.
Picture 5 will show you that this only happens when the added object is derived from QObject.
If the object is not of type QObject, no false data will be displayed.
Attachments
For Gerrit Dashboard: QTCREATORBUG-28337 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
461056,3 | Debugger: Fix printing of pointer to multiple inheritence base class | 10.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |