简体   繁体   English

Visual Studio 2008调试问题

[英]Visual Studio 2008 debugging question

I've had an issue with Visual Studio that has been bugging me for some time. 我在Visual Studio中遇到了一个困扰我一段时间的问题。 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. 每当我调试使用C ++ STL的程序并使用“步入调试器”时,调试器就会向我显示文件中实现我正在使用的数据结构的代码。

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 . 谷歌为“NoStepInto”, 例如

为了不输入调试器中当前显示的其他文件,请勿进入(F11快捷方式),而应使用“跳过”(F10快捷方式)。

如果托管代码正在调用此方法,则可以使用DebuggerStepThroughAttribute类System.Diagnostics命名空间中的其他一个来装饰调用者。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM