Debug issues with libc++ in Xcode 4.4
问题 I am having a problem when I try to debug on a list iteration on c++. I made a simple test app: int main(int argc, const char * argv[]) { // insert code here... std::cout << "Hello, World!\n"; std::list<int> list; list.push_back(1); list.push_back(2); --> list.push_back(3); //Line before step over for (std::list<int>::const_iterator i = list.begin(); i != list.end(); i++) { std::cout << *i << std::endl; } return 0; } While debugging, when I am on the line marked with an arrow, when I step