- 
    
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 
#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>