20. Debugging and Troubleshooting

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

Brian W. Kernighan

This chapter discusses debugging, troubleshooting, and analyzing your applications. This is one of the most important steps in application development and is often neglected. Testing an application doesn’t stop after all your unit tests pass. You need to make sure that the application runs smoothly and efficiently and, especially on mobile devices, that it isn’t abusing resources. Applications that abuse mobile device resources aren’t even going to be allowed into the Marketplace.

This chapter shows you how to debug ...

Get Windows Phone 7 for iPhone Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.