BugSense

BugSense is back with the support of Windows 8, Windows Phone 8, HTML 5

BugSense

I already talked about BugSense, this company that provides to the developers of mobile apps the power to track crashes and problems in their applications (way better than the solution provided by the Microsoft marketplace). They are constantly evolving, adapting to the new market, the new technologies and today they announced the Windows 8 SDK for C# and JavaScript!

If you are familiar with NuGet, it has never been so easy to integrate a third-party library in your current project. Right click on you project, then Manage NuGet Packages…

image_20

Update of Bugsense SDK for Windows Phone 7

BugSenseThe team BugSense updated few weeks ago the SDK for their platform for Windows Phone 7. If you never try it I suggest you to read this post Mobile bug tracking with BugSense. If you already use it in your mobile application, update the SDK is very easy and requires less than 5 seconds. Right click on your solution, then:

image_9

Check your updates!

image_10

You’ll have then only one change to do, the following method is now deprecated:

BugSenseHandler.HandleError(e.ExceptionObject);

You must change it by:

BugSenseHandler.Instance.LogError(e.ExceptionObject);

BugSense New pricing and XNA support for Windows Phone 7

BugSense

Last October, I blogged about how to use BugSense to track bugs into your mobile applications. Today, the startup of San Francisco announced a new pricing for their service. You can start for free, to $299 a month. As a reminder, with a very small package installed in your application, you can track any unhandled exception (when your application crash) or any other error you want to analyze. They updated the dashboard, the place where you can track any problem reported by your customers. This dashboard is evolving very often to give you a better user experience. Here is a screenshot of the dashboard for one of my applications for Windows Phone 7.

 Bugsense

About the pricing, for all the developers of small applications, with not many thousands of users, you can use this service for free! The major limitations are 500 errors a month and only one viewer. But if your business is growing up, you can still upgrade your plan to $19 a month to be allowed to send up to 25.000 errors a month. Have a look at the prices on BugSense for more details. All the plans allows you to create as many applications you want, even with the free plan! If you are an open source application developer, do not hesitate to contact them, they can offer you a Premium plan for free!

Since the last time I blogged about it, they introduced the support of XNA on Windows Phone 7. It means, you can now, track problems in your games! To use it, it’s still very convenient, you can use NuGet to get the packages and install it into your application / game.

My opinion about these price is that the limit of 500 errors a month of the free plan can be reached very fast if your popularity on the marketplace grows. But the price of the next plan, $20 a month, could be a bit expensive. Maybe an intermediate plan, with “only” up to 5,000 errors would be a good alternative. But don’t forget that you can monetize your application with Microsoft Advertising (not available in every countries).

I’m using BugSense in my applications for Windows Phone 7 to track all bugs. The biggest part of the problems come from the applications Earthquakes because the number of downloads is pretty high (thank you for that), but it’s usually only minor issues, and thanks to BugSense I can catch them very quickly, with the email sent to alert you when you receive a new unknown crash. So I can very quickly fix the problems, now the slowest part is the certification on the Microsoft Marketplace, that takes almost a week to validate an update. Please Microsoft improve the certification process!!!

Follow @bugsense on Twitter. Then have a look at their website.

Mobile bug tracking with BugSense

BugSenseToday I’m gonna talk about a new service I discovered yesterday, bugsense. This free tool is used to report crash of your mobile applications (iPhone, Android, Google AppEngine, BlackBerry or Windows Phone 7) and send to the developer a notification, then a web tracking system will help you to know what is needed to fix. You’ll ask me, why this tool is free? The business model (according to the FAQ) is that some future features will be available only with a premium account.

Let’s talk about features.

analytics

From your interface, your dashboard, you can track the number of exceptions raised by your applications every days, weeks, months. You can also track the list of bug you already fixed and the pending list.

image_103

As you can see, for an exception, you can see the stack trace, and a lot of information concerning the device, like the OS version, the country, the application version, the application name… A bug has two states, Unresolved and resolved. It allows you to track, filter and sort easily what you have to do for the next release of your application.

image_104

You can also invite other developers of your team to track the bugs in the same dashboard.

How to implement it into your applications.

It is very very easy! Do you know NuGet? Just install the package BugSense for Windows Phone into your project.

nuget

You’ve first to initialize the service by providing the application handled and your API Key (This key is given when you create a new application on the BugSense dashboard). Update the constructor of the class App.

/// <summary> /// Constructor for the Application object. /// </summary> public App()
{
    // Define the instance of BugSense
    BugSenseHandler.Instance.Init(this, API_KEY);

    // Global handler for uncaught exceptions.
    BugSenseHandler.Instance.UnhandledException += Instance_UnhandledException;
}

Then we have to modify the way to raise unhandled exception raised by your application. You can remove the line UnhandledException += Application_UnhandledException; from the constructor, and we will create our own handler.

// Code to execute on Unhandled Exceptions private void Instance_UnhandledException(object sender, BugSenseUnhandledExceptionEventArgs e)
{
    // Use BugSense to report the exception
    BugSenseHandler.HandleError(e.ExceptionObject);

    if (System.Diagnostics.Debugger.IsAttached)
    {
        // An unhandled exception has occurred; break into the debugger
        System.Diagnostics.Debugger.Break();
    }
}

popup-wp7

So now, when a unhandled exception is raise in your application, this popup is displayed. When the user click OK, a report is sent to your dashboard, and an email is sent to your mailbox (if you activated the notification). You can, of course, customize the popup and the error message.

So, if you want to try the service BugSense for free, check it out http://www.bugsense.com/