Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.3.1
-
None
-
Ubuntu 16.04-2
gcc - 5.4.0
gdb - 7.11.1
QtCreator 4.3.1
glibc++ 3.7.0
Description
#define _GLIBCXX_DEBUG #include <iostream> #include <vector> int main() { std::vector<int> vec(42, 10); for (const int & item : vec) { std::cout << item << std::endl; // set break point on this line } return 0; }
If I debug this code with breakpoint on line 11, then variable vec is <not acessible>.
But if i commented first line, vec isĀ <42 items>
Attachments
For Gerrit Dashboard: QTCREATORBUG-18705 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
202392,1 | Debugger: Fix std::vector variable when _GLIBCXX_DEBUG is defined | master | qt-creator/qt-creator | Status: ABANDONED | -1 | 0 |