Smackerlacker
Smackerlacker

Reputation: 171

Visual Studio 2015 Debug: How to stay within my own program only

I'm a beginner at c++, and whenever I write a trivial program in VS2015, and try to debug it, the debugger takes me through every single detail of every standard library function that I used, with 20-30 break points between the statements that I actually wrote.

I can't debug at all this way, and I'd really like to know if there's a way to turn this feature off. I want to debug MY code, not the library code.

Upvotes: 1

Views: 77

Answers (2)

Jack Zhai
Jack Zhai

Reputation: 6436

One workaround is that you could think about using the "Step Into Specific" or not step into Functions using the registry key like this case:

Is there a way to automatically avoiding stepping into certain functions in Visual Studio?

Upvotes: 1

rocambille
rocambille

Reputation: 15986

I suggest you to read the manual. Consider options like the breakpoints or the "step over".

Upvotes: 2

Related Questions