自动致电。 Visual Studio调试器中的例外?

发布于 2025-02-09 13:39:13 字数 185 浏览 1 评论 0原文

总是将“(std :: except*)0x123 ...”放入手表窗口时,在调试器遇到C ++中未手动异常时获取异常消息是非常烦人的。

有更好的方法吗?

也许我可以使用更具动态的手表条目,该输入会自动获取当前异常地址?

或者,也许有一个例外挂钩不会干扰MSVC调试器的异常处理?

还是调试器扩展名?

It's very annoying to always put "(std::exception*)0x123..." into the Watch window to get to the exception message when the debugger hits an unhandled exception in C++.

Is there a better way?

Maybe I can use a more dynamic watch entry that gets the current exception address automatically?

Or maybe there is an exception hook that does not interfere with the MSVC debugger's exception handling?

Or a debugger extension?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文