| Demo Software |
| Request Pricing |
|
|
|
15,489,335 crash reports |
Testing the sample application 'myCSharpCrasher'
Before you enable your .NET application with BugSplat technology, you may want to take a moment to examine the defect reports created with one of our sample applications. To do this, login to BugSplat with user name 'Fred' and password 'Flintstone'. All the defect reports in the Fred account are actual crashes created with one of our sample applications.
Defect reports from the application myCSharpCrasher are mixed in with defect reports from unmanaged applications. To view just the .NET application crashes you can filter on application name "myCSharpCrasher" on the Custom Reports page.
Locate the program myCSharpCrasher from the zip that you just downloaded and launch it without making any changes.
Many of the buttons on the dialog will cause a crash. When a crash occurs, fill out the requested information and select 'Send'. You can verify that crash report was created by logging into BugSplat with user 'Fred' and password 'Flintstone' and selecting 'All Crash Reports'. Look for a recent crash post that has the crash description you created.
You can also take a look in the Event Viewer on your computer.
Under Control Panel, Administrative Tools, locate a recent BugSplat Application event.
Modifying the sample application 'myCSharpCrasher' to use your BugSplat account
Next,we will change the sample app so that crash reports are sent to your user
id.
In Form1.cs search for the following line:
BugSplat.Init( "Fred", "myCSharpCrasher", "0.1");
Make the following changes:
"Fred" to match your BugSplat database name.
The BugSplat database is created and selected on the Manage Databases page."myCSharpCrasher" to a name of your choice (this is an arbitrary string, used to distinguish your applications across crash reports."0.1" to a string of your choice. Again this is arbitrary, but would typically match the version and build string of your application.Compile and link the myCSharpCrasher project.
Make sure you switch to the Release configuration before building.
Next, Launch myCSharpCrasher.exe (not from the debugger!) and select a crash button.
Fill in the requested information in the crash dialog and select "Send
Report"

To verify that the report was sent, log into BugSplat and verify the defect was recorded.