【问题标题】:Avoid stepping into c++ std header files in Visual Studio 2008 Debugger [duplicate]避免在 Visual Studio 2008 调试器中进入 c++ std 头文件 [重复]
【发布时间】:2010-07-29 07:18:16
【问题描述】:

可能重复:
Is there a way to automatically avoiding stepping into certain functions in Visual Studio?

早安,

我正在寻找一种方法来告诉调试器在调试我的代码时避免进入一些我不感兴趣的头文件。

示例:当我有一个 std::string 作为函数的参数并且我只想进入 my 函数时,我首先陷入了 stl 字符串代码。但我想我永远不会在 stl 头文件中找到我的错误,因此我想告诉 VS 完全忽略这些文件。

有办法吗?这将节省大量 Shift-F11+F11 击键。 :-)

托马斯

【问题讨论】:

    标签: c++ visual-studio-2008 stl debugging


    【解决方案1】:

    据我所知,没有排除头文件的解决方案。 但是,您可以定义将始终被单步执行的代码。 见:Is there a way to automatically avoiding stepping into certain functions in Visual Studio?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-04
      • 1970-01-01
      • 2011-03-23
      • 1970-01-01
      相关资源
      最近更新 更多