避免步入 c++ Visual Studio 2008 调试器中的 std 头文件
早上好,
我正在寻找一种方法来告诉调试器在调试代码时避免单步执行某些我不感兴趣的头文件。
示例:当我有一个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,没有排除头文件的解决方案。
但是,您可以定义始终被跳过的代码。
请参阅:有没有办法自动避免单步执行 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?