Conclusion

In this lesson, you learned some basic tools available to help you debug and troubleshoot your code. You learned how:

  • Xcode keeps you from making syntax errors.
  • You can use autocomplete to keep from having to type so much.
  • To use breakpoints in different ways to help you inspect and even change variables while your app is running.
  • To use the debug and the system consoles to leave signs for future developers about how your app runs.

Now, you can:

  • 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
Download course materials from Github
Previous: Logging Demo Next: Quiz: Debugging & Troubleshooting in Xcode