views:

33

answers:

3

I've had an issue with Visual Studio that has been bugging me for some time. Whenever I debug a program that uses the C++ STL and I use Step Into the debugger shows me the code in the files where the data structure I'm using is implemented.

How can I turn this feature off? I want the debugger to always stay in the file that I'm debugging.

SOLVED thanks

A: 

In order to not enter in other files that the one currently displayed in the debugger, do not step into (F11 shortcut) but use Step Over (F10 shortcut).

Xavier V.
+1  A: 

you can also selectively disable certain methods you do not want to step into in the registry. Google for 'NoStepInto', example.

stijn
A: 

If managed code is calling this, you can decorate the caller with the DebuggerStepThroughAttribute class or one of the other classes in the System.Diagnostics Namespace

Blanthor