LinkedIn Twitter YouTube
Features Competitive Analysis How It Works Frequently Asked Questions Getting Started Downloads
About News Store
Demo Software
Request Pricing

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.    Event Viewer


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:

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"

   Crash Report



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