Chapter 16. Testing and Debugging

Testing and debugging are vital activities in building quality software. From a developer's perspective, unit testing ensures small units of code work. By having a suite of tests, it is easy to catch a bug introduced into code that was previously shown to be bug free. Testing helps ensure software quality by catching as many bugs as possible and proactively ensuring bugs aren't introduced. Debugging, however, is generally done after a bug has been found. Debugging involves tools and an effective problem-solving process to find the root cause of a bug in order to apply a fix. You can build defenses into your application to make debugging easier, such as error logs (to capture errors) and audit logs (to reconstruct ...

Get Introducing Silverlight 4 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.