Introduction

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

This lesson starts by exploring the feedback you get from the Xcode compiler while writing code and when your app is running. Then, you’ll learn how to use the Breakpoint navigator and the debug area to step through code and variable changes as your code executes. Next, you’ll learn how to make your code print messages to the debug window and how to log to the console. You’ll finish by learning how some common errors manifest and how to fix them.

By the end of this lesson, you’ll be able to:

  • Use Xcode’s debugger to step through your code line by line and inspect variables.
  • Use Xcode’s console to print log messages and debug your code.
  • Recognize and fix some common iOS app errors using Xcode’s debugging and troubleshooting tools.
See forum comments
Download course materials from Github
Previous: Quiz: Getting to Know Xcode Next: Preventative Measures