How do you use breakpoints in XCode?
A breakpoint is a debugging tool that lets you stop your application at a specific line of code. The application is suspended, allowing you to look at your program state, and collect information about whatever bug you are tracking. We'll talk about simple breakpoints, conditional breakpoints, and set exception breakpoints.
Debugging Tools - Apple Developer
Xcode Breakpoint Wizardry for Debugging