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
This content was released on Apr 24 2024. The official support period is 6-months
from this date.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Previous: Quiz: Getting to Know Xcode
Next: Preventative Measures
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.