phoad
phoad

Reputation: 1861

Using WER (Windows Error Reporting) tool to collect minidumps of our programs

In some projects I have used MiniDump generation functions to generate dumps.

It is possible to generate these dumps and copy them from the machine to some development/test machines and analyze.

When a program fails at Windows a form is shown stating that would you want to submit the crash information. It is also possible to add some functions to our code to enable this feature.

However the dumps will be sent to Watson servers of Microsoft?

I wonder if it can be possible to write these WER enabling functions in our code and update CorporateWERServer property to make the bugs be forwarded to our servers instead of Microsoft.

So we might be automatically informed when our applications crash, using an already implemented feature of Microsoft. Furthermore, is there a similar utility available for Linux side for programmers to use for such situations.

Upvotes: 1

Views: 2618

Answers (1)

rrirower
rrirower

Reputation: 4590

I've used both mechanisms. I started out "rolling my own" crash reporting system by reading articles on how to write my own unhandled exception filter. I even had the process collect additional files that were helpful in diagnosing the problem. The results were zipped up and http'd to a company server. WER has some advantages over rolling your own solution (eg. collection of crash dumps for you, statistical analysis, automated responses, etc.), so, my company decided to give it a try. We've been using WER for a few years and have had some success and failures. The WER support is pretty terrible. And we can no longer get the additional files as part of our crash report. So, we've decided to look for an alternative solution. There aren't many, but, we did find BugSplat and were pretty impressed. The moral of the story is make sure you know what you expect from such a system before deciding one way or the other.

Upvotes: 6

Related Questions