避免步入 c++ Visual Studio 2008 调试器中的 std 头文件

发布于 2024-09-12 02:50:52 字数 491 浏览 0 评论 0原文

可能的重复:
有没有办法自动避免单步执行 Visual Studio 中的某些函数?

早上好,

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

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

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

托马斯

Possible Duplicate:
Is there a way to automatically avoiding stepping into certain functions in Visual Studio?

Good Morning,

I'm looking for a way to tell the debugger to avoid stepping into some header files that are of no interest to me when debugging my code.

Example: When I have a std::string as a parameter of a function and I just want to step into my function, I first fall into the stl string code. But I guess I will never find my bugs in the stl header files and therefore I want to tell VS to ignore these files completely.

Is there a way to do it? This would save a lot of Shift-F11+F11 keystrokes. :-)

Thomas

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烟织青萝梦 2024-09-19 02:50:52

据我所知,没有排除头文件的解决方案。
但是,您可以定义始终被跳过的代码。
请参阅:有没有办法自动避免单步执行 Visual Studio 中的某些函数?

As far as I know there is no solution to exclude header files.
You can, however, define code that will always be stepped over.
See: Is there a way to automatically avoiding stepping into certain functions in Visual Studio?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文