如何避免调试进入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:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\10.0\\NativeDE\\StepOver$c$c>
创建一个新的字符串值存在。如你所愿的名字。输入此作为内容:
Create a new string value there. Name it as you wish. Enter this as a content:
升压\\:\\:*
(需要重新启动Visual Studio。)
(You need to restart Visual Studio.)