I am developing an OpenCV application and I need to debug my code (Visual studio 2010, opencv with cmake).
I would like to debug line by line to see where exactly my app crashes. I am trying to use F11 the problem is that F11 shows me external code (opencv libraries, std libraries etc).
Is there any other way to don't put lots of breakpoint all over my code?
int main(void) {
vector<int> myVec;
myVec.push_back(1);
//> Do other stuff
}
If I try F11 with this code, visual studio will debug the vector library files too, and I want to avoid that. I just want to follow the flow of the code inside my main();