Chapter 11

Debugging Your App

In This Chapter

arrow Discovering the types of errors that arise

arrow Finding coding errors

arrow Learning to use Xcode’s debugger

arrow Finding bugs and banishing them

arrow Using logging to track the execution of your app

arrow Tracking bugs

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 ...

Get Mac® Application Development For Dummies® 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.