Chapter 15. Debugging

One of the fundamental truths of computer programming (and life) is that not everything works perfectly. No matter how much you plan, and no matter how long you've been programming, it's rare for an application you write to work perfectly the first time and forever under all circumstances and possible uses. Knowing how to properly architect your application and write well-formed code is important. Knowing how to find out why things aren't working the way they're supposed to, and fixing them, is equally important. This last part of the coding cycle, as you're probably well aware, is a process called debugging.

When it comes to mastering the process of debugging, experience is far and away the best teacher. Each time you fix ...

Get More iPhone 3 Development: Tackling iPhone SDK 3 now with O’Reilly online learning.

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