문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top