Chapter 11. Debugging and optimizing your application

This chapter covers

  • Debugging applications without tools
  • Using breakpoints and stepping through your code
  • Watching variables
  • Optimizing the performance of an app

You’ve written some great-looking apps that work well, but what happens when things don’t go so smoothly? Sometimes a newly written app may behave unexpectedly or even crash. These problems are caused by programming errors often called bugs, and even the most experienced programmers make them.

Because bugs aren’t automatically detected by Xcode, they can be more difficult to find and fix, but don’t worry. Fortunately, there ...

Get Hello! iOS Development 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.