Learn Courses My Dashboard

How to use breakpoints and debug

How can I configure Xcode to let me see my code and where its running at while using breakpoints instead of showing me this which I have no idea the meaning of.

you might need to take a step back and “guess” where the problem could be or maybe put in some try catch so when it goes to the error you can print out a statement on where the problem lies

you can check out this basic debugging tutorial from sean allen if it helps Xcode Breakpoints - Basic Debugging | Swift - YouTube

or our old debugging video which is still in UIKit How To Build a Match Game - Lesson 7 (Xcode Debugging) - YouTube