Chapter 24. Debugging Your Program
Programs rarely work right the first time. In most cases, you'll need to fix problems as they occur until your program finally works. However, just because a program seems to work doesn't mean that it will work, so that involves more testing and fixing, known as debugging.
After you've debugged your program so that it finally does what it's supposed to do without crashing, freezing, or wrecking other files on a computer, you may be ready to ship it. That's the point where you have an actual working program that you can sell and distribute to others.
The main goal of writing any program is to get it to work. Once you get your program to work, you can stop right there and celebrate. Once you release your program ...
Get Mac Programming for Absolute Beginners 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.