如何避免调试进入Boost源$ C ​​$ C在Visual Studio? [英] How can I avoid debugging into Boost source code in Visual Studio?

查看:134
本文介绍了如何避免调试进入Boost源$ C ​​$ C在Visual Studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法从debuging排除升压源$ C ​​$ C(或任何其他)?我不想踏入提升内部源$ C ​​$ C。

Is there a way to exclude boost source code (or any other) from debuging? I don't want to step into boost internal source code.

例如:

boost::shared_ptr<Xyz> xyz(new Xyz());
xyz->someMethod();

当我想踏入 XYZ ::的someMethod()使用F11调试器的第一个步骤到升压/ shared_ptr.hpp 之前,我进入XYZ ::的someMethod()

when I want to step into Xyz::someMethod() using F11 the debugger first steps into boost/shared_ptr.hpp before I get into Xyz::someMethod()

推荐答案

启动注册表编辑器并导航到以下项:

在一个32位操作系统:

Under a 32bit OS:

HKEY_LOCAL_MACHINE \\ SOFTWARE \\微软\\ VisualStudio的\\ 10.0 \\ NativeDE \\行距

在一个64位操作系统:

Under a 64bit OS:

<$c$c>HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\10.0\\NativeDE\\StepOver

创建一个新的字符串值存在。如你所愿的名字。输入此作为内容:

Create a new string value there. Name it as you wish. Enter this as a content:

升压\\:\\:*

(需要重新启动Visual Studio。)

(You need to restart Visual Studio.)

这篇关于如何避免调试进入Boost源$ C ​​$ C在Visual Studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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