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 }