How can I disable all the Windows crash handlers like DrWatson and so on
-
12-10-2019 - |
문제
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.
해결책
As far as I remember WinDbg
has a way to be launched on crash, saving a minidump and exiting without any dialog.
다른 팁
I found an interesting way of doing this and documented it on my blog at http://blog.mvct.com/?p=29
It allows you to track crashes while not showing anything to the user (in this case your unit test) at all.