15. Debugging and Performance Optimization

THE FIRST ACTUAL CASE OF A BUG BEING FOUND IS ON DISPLAY AT the Smithsonian National Museum of American History. A bulky machine known as the Mark II Aiken Relay Calculator was being tested on September 9, 1947, when the operators found a moth trapped between points on a relay panel. They taped the moth to a log entry and told others that they had “debugged” the system. Although the term bug was already common to describe kinks in a system, it was this event that many believe secured it as the popular term for a software defect.

A bug is simply an error or flaw in a software program that either causes it to do something it is not supposed to do or prevents it from doing something it is supposed to do. ...

Get Designing Silverlight Business Applications: Best Practices for Using Silverlight Effectively in the Enterprise now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.