In my last post, I said I like WP7 platform best for development, but one thing that blew me away about Android development is when Google came out with crash reports. Developers can see stack traces for all the crashes that users report that may direct you to exactly what the problem is.
I released a new version of Bubbles (and Bubbles Deluxe) yesterday. This morning I checked in the market console to see if there were any crashes and saw that there was a new error users were seeing:
I clicked through to see the stack reports (14 of them, all the same):
Wow, it pointed me to exactly where the problem was. Oops, I had forgotten to put a synchronize block around the code for popping all the bubbles when the user shakes the device so if a bubble popped of natural causes right during the time it was looping through popping all the bubbles due to shaking it would try to pop a bubble that no longer existed.
The crash reports can also include a user message. One kind user confirmed what I already knew:
This is a great feature which should improve app quality. I’m not happy that the bug existed but without the reports I wouldn’t have known about it — at least not for a long time. But don’t expect to see it anytime soon on Apple which uses native code where getting stack traces is very awkward. I wonder if Google uses this for ranking in the Market. It certainly would be interesting to see crash stats for other apps.