Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 2.2.1
-
None
-
Ubuntu 11.10 64 bit
Description
"Locals and Watchers" window in Qt Creator displays wrong information about std::vector<bool> instances while debugging. For example when I initialize instance of vector<bool> to 50 trues, only first 32 items show true and rest show false. Also when I create instance of vector<bool> with 65 items, inspecting shows it has only 33 items. The instances of vector<bool> are actually correct, only reporting in "Locals and Watchers" window is broken. Here is minimal example which reproduces this bug:
#include <vector> int main(void) { std::vector<bool> v1(50, true); std::vector<bool> v2(65); return 0; // breakpoint here }
Attachments
For Gerrit Dashboard: QTCREATORBUG-6919 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
15673,2 | debugger: add test for pretty printer for std::vector<bool> on x86_64 | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |