Inserting Breakpoints
To insert a breakpoint in XCode, simply click in the area to the left of where you want the program to pause.
Shown in this screenshot are two breakpoints to the left.

You will find, in the upper left section of the screen, five buttons that will help you navigate through your program. The middle button -with a curved arrow over a dash- will let you move step-by-step through your program.
You can see the values of your local variables change ( name : Roger Clements) as you step through the program.
With pointers, vectors, or other data structures, you can click on the arrow next to the variable and the value(s) of the variable will be shown (… with a little bit of searching).
Back to top