如何在VS 2008中跳过常见课程? [英] How to skip common classes in VS 2008 when stepping in?

查看:173
本文介绍了如何在VS 2008中跳过常见课程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果在步入时可以跳过VS 2008调试器中的常用类?

How can I skip common classes in VS 2008 debugger when stepping in?

例如,我不希望调试器进入任何std :: classes 。
我如何才能实现?

For example, I do not want debugger to step into any of the std:: classes. How can I achieve that?

我在VS 2005和更早版本中找到了这样的方法,但不是2008年。

I've found ways of doing this in VS 2005 and earlier, but not 2008

推荐答案

您可以通过在注册表中输入条目来进行此操作(我知道它很烂)。您正在寻找的关键在于32到64位系统。对于32位系统,关键是

You can do this by entering entries into the registry (I know, it sucks). The key you are looking for varies from 32 to 64 bit systems. For 32-bit systems the key is

HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\NativeDE\StepOver

HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\NativeDE\StepOver

如果您正在运行64位操作系统和32位Visual Studio,那么关键是

If you're running a 64 bit OS and a 32 bit Visual Studio the key is

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\NativeDE\StepOver

Wow6432Node键是一个在64位系统上运行的32位应用程序的密钥存在
(Sidenote:搜索注册表中的_RTC_CheckEsp可能会导致您到正确的位置,它是Visual Studio 9中的默认条目)

The Wow6432Node key is a key present for 32 bit applications running on 64 bit systems. (Sidenote: searching the registry for "_RTC_CheckEsp" probably will lead you to the right place, it's a default entry in Visual Studio 9)

语法应该对你来说很熟悉,但作为一个例子,一个简单的条目可以是字符串值 boost ::。* = NoStepInto ,这将避免调试器进入Boost。请参阅 http://www.cprogramming.com/debugging/visual- studio-msvc-debugging-NoStepInto.html 其他一些例子。

The syntax should be familiar to you, but as an example, a simple entry could be string value boost::.*=NoStepInto which will avoid the debugger to step into Boost. See http://www.cprogramming.com/debugging/visual-studio-msvc-debugging-NoStepInto.html for some other examples.

希望有帮助:)

这篇关于如何在VS 2008中跳过常见课程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆