Breakpoints can stop your app while it's running to help you squish bugs and find gaps in logic. In this video, learn how to use breakpoints in your development in Xcode.
- [Instructor] Breakpoints are another tool built…into Xcode that allow you to pause a running application…and check the values of variables.…Let's take a look at how breakpoints work in Xcode.…To create a breakpoint, simply click to the left…of a line number…and you'll see that blue icon there…indicating a breakpoint.…If you want to modify the settings of your breakpoint,…you could actually right click…and here you could choose to disable…or delete the breakpoint…or to edit the breakpoint.…
If you hit Edit, you can say that a breakpoint occurs…if a certain condition is met…or you can add an action to the breakpoint.…For now I'm not going to do any of that…but just know that that option is there…should you need it.…I'm going to click away from that…and then I'm going to right click on the breakpoint again…and choose Reveal in Breakpoint Navigator.…The Breakpoint Navigator is in the Navigator area…toward the right…and allows you to view your application's breakpoints.…So, we have all of the classes that have breakpoints…
- Installing Xcode
- Creating your first project
- Editing code
- Creating snippets
- Prototyping in playgrounds
- Implementing version control with Git
- Building and connecting the interface
- Compiling and debugging apps in Xcode
- Creating workspaces for sharing resources and code
Skill Level Beginner
1. Getting Started
2. Edit Code
3. Source Control
4. Interface Builder Basics
5. Compile and Debug
Create a workspace2m 51s
Next steps1m 5s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.