Debugging Your App
In This Chapter
Discovering the types of errors that arise
Finding coding errors
Learning to use Xcode’s debugger
Finding bugs and banishing them
Using logging to track the execution of your app
In an application developer’s fantasy world, apps are flawlessly crafted, code is written perfectly, and users experience an awesome application that does everything exactly as it’s supposed to. The data that the app stores is always crisp and fresh, and it never gets corrupted. Visuals are stunning and display perfectly on every screen attached to any Macintosh.
In the real world, however, applications don’t always execute correctly. Sometimes they don’t even build correctly, and the dream gets cut short before you can even build a release version. You need to find a way to fix things; you need to understand the tools that will assist you in moving ...