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();
Hi as already mentioned in my comment in VS2010 the only way to avoid stepping into STL code is to modify a registry key, as described in this post.
With VS2012 there is another way by using Visualizers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With