Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simple crash report?

I am looking into implementing a simple crash report on my application that will ask the user if he wants or not to send the crash log to us.

I never did a crash report before, what I am used to do is a try/catch around saving the errors to a log file.

  1. What is the correct way to implement a crash report system ?

  2. How do you trigger the crash report to open and send the dump when the application crashs or what is the correct approch to send the data ?

I think the above are my biggest doubts as to how it works or should work... I am not entirely sure if the crash report would be a interact of try/catchs with a external app trigged when the above happens or what would be the correct way to follow it.

I dont have SQL Server available so what I was planning to use would be a simple upload script that the app to report the dump would use to send the data.

Pardon me for my ignorance about how the crash report works and I hope the community can help me understand it better.

I was searching around about crash report and saw most things going around Crystal Report, ready to go libraries, etc but I would like to start it small so I can get a better understanding of it before digging into some big library or other solution if it is available at my end.

like image 471
Prix Avatar asked Dec 12 '10 06:12

Prix


People also ask

How to make an accident report form?

Here are ways in drafting and editing a simple accident report form: On the top-most part of your document sheet, make a box for the date and time of the incident. Make two vacant lines for the location where the event happened.

How do I find an error in a crash report?

Look for the latest crash report and open it. The first thing you'll see is the time and the description and some more lines filled with text, but directly after the error type comes the line where the error has been found. An example:

What are the uses of accident report samples?

> Uses of Accident Report Samples Formal report on accidents must be short and to the point, describing even the smallest details. A nice format, tabulating all details and causes for the dreadful scenario should be followed. This makes things easy to understand and if a submission is to be made at the court such samples are the best one can get.

Can You Help Me Out with crash reports?

if you like crash reports, maybe you could help me out. no matter what i tryed, even removing mods, did nothing. the game (1.12.2) works with on mods. i keep getting the following all the time. and here is the crash report. what is going on and how can i fix it? i've had it this happening to on bloody end.


1 Answers

Have you considered using the built-in Windows Error Reporting?

You can use the Winqual website to view driver-specific, application-specific, or operating system-specific errors associated with your organization. Each error report provides details related to that bucket, and you can then request a file of the associated data.

To view error reports:

  1. Establish a Winqual account. To protect companies from impersonation and to ensure that the error reports go to a representative from the correct company, the Winqual Web site requires your company to have a valid VeriSign ID.

• Check with your Legal Department; your company might already have a VeriSign ID (also called a Software Publisher's Digital ID for Authenticode). • Check on Winqual to see if your company already has an account.

  1. Accept the Windows Error Reporting Agreement.

  2. Sign in to the Winqual site.

  3. Click Windows Error Reports.

This old article may be of interest: A Simple Class to Catch Unhandled Exceptions in WinForms

like image 154
Mitch Wheat Avatar answered Oct 23 '22 13:10

Mitch Wheat