如何禁用所有 Windows 崩溃处理程序,例如 DrWatson 等

发布于 2024-10-08 07:33:04 字数 169 浏览 0 评论 0原文

我正在开发一个单元测试自动执行应用程序,我需要当一个应用程序崩溃时不出现对话框。故障转储会很棒,但主要要求是不显示对话框,因为我正在自动化执行,并且不会自动化这些对话框。

我已经禁用了 Windows 错误报告,但唯一的变化是没有发送选项的不同对话框。

有什么想法吗?

谢谢。

I'm developing a unit test automatic execution application and I need that when one application crashes no dialog appears. A crash dump would be great but the main requirement is that no dialog is shown because I'm automating the execution and I won't automate those dialog.

I've disable the windows error reporting but the only change has been a different dialog without the send option.

Any ideas?

Thanks.

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

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

发布评论

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

评论(1

剧终人散尽 2024-10-15 07:33:04

据我所知,WinDbg 有一种在崩溃时启动的方法,保存小型转储并在没有任何对话框的情况下退出。

As far as I remember WinDbg has a way to be launched on crash, saving a minidump and exiting without any dialog.

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