Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Step Over" and "Step Into" in Visual Studio [closed]

I have noticed that using F10 - Step Over in VS automatically skips my functions. Why is that? I did noticed that F11- Step Into, does enter my functions, however it enters the implementation code of the functions I am using from the various C libraries, which is really annoying.

Is there any way I can run step by step inside my functions without entering the implementation code of the included libraries?

like image 653
Steinfeld Avatar asked Dec 12 '22 18:12

Steinfeld


2 Answers

It is annoying, especially if you happen to call several functions just to get parameters into yours. You can use step out (Shift+F11) to quickly get out of uninteresting code. (and then F11 to get into the next one)

like image 139
Eugene Avatar answered Dec 22 '22 07:12

Eugene


Yes, there's an undocumented feature which allows you to not step into any of a list of functions you specify. See this blog post for an example of how to set that up. But again, since it's an undocumented feature, it could break with future versions of Visual Studio, and it may not always behave reliably.

like image 42
Adam Rosenfield Avatar answered Dec 22 '22 07:12

Adam Rosenfield