开发者

Visual Studio 2008 debugging question

开发者 https://www.devze.com 2023-01-15 09:32 出处:网络
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 Ste开发者_开发知识库p Into the debugger shows me the code in th

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 Ste开发者_开发知识库p 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


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


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).


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

0

精彩评论

暂无评论...
验证码 换一张
取 消