I recently updated my Mac to Mountain Lion and also Xcode 4.5 . I do C/C++ programming often and i love Xcode. What i have noticed with Xcode 4.5 is while debugging it is taking me into the header files like for string and stand functions while i debug, for example
string tmp;
cin>>tmp;
for(int i=0;i<tmp.length();i++)
{
//do something with the string
}
Now if i put a breakpoint at the for loop,everytime i pass by it, it takes me into the C++ string header and runs line by line code in it and then comes back to my code. This was not the case with Xcode 4.4. Is there anyway to disable this?
This has already been answered in this post. The short answer is that LLDB doesn’t appear to skip inline functions yet.