About this Course

"If debugging is the process of removing bugs, then programming must be the process of putting them in."
Edsger W. Dijkstra

Debugging is yin to programming's yang; you can't have one without the other. However, finding bugs in programs can be an incredibly frustrating and demotivating process for developers. This course will teach you a variety of techniques to help make debugging your code easier.

Course Cost
Free
Timeline
Approx. 3 weeks
Skill Level
Advanced
Included in Course
  • Rich Learning Content

  • Interactive Quizzes

  • Taught by Industry Pros

  • Self-Paced Learning

  • Student Support Community

Join the Path to Greatness

This free course is your first step towards a new career with the Become an iOS Developer Nanodegree Program.

Free Course

Xcode Debugging

Enhance your skill set and boost your hirability through innovative, independent learning.

Icon steps 54aa753742d05d598baf005f2bb1b5bb6339a7d544b84089a1eee6acd5a8543d

Course Leads

  • Jarrod Parkes
    Jarrod Parkes

    Instructor

What You Will Learn

Lesson 1

Debugging, Printing, Logging

  • Learn about the difference between warnings and errors in Xcode.
  • Look at an example app riddled with bugs to troubleshoot.
  • Outline a debugging process and use print statements to identify bugs.
Lesson 1

Debugging, Printing, Logging

  • Learn about the difference between warnings and errors in Xcode.
  • Look at an example app riddled with bugs to troubleshoot.
  • Outline a debugging process and use print statements to identify bugs.
Lesson 2

Stepping Through Code

  • Learn how to use breakpoints in Xcode.
  • Examine application state and stack frames during the execution of an application.
  • Diagnose and understand run-time problems using Xcode's debugging tools.
Lesson 2

Stepping Through Code

  • Learn how to use breakpoints in Xcode.
  • Examine application state and stack frames during the execution of an application.
  • Diagnose and understand run-time problems using Xcode's debugging tools.
Lesson 3

LLDB and Breakpoint Actions

  • Learn about LLDB (low-level debugger)—the debugging super tool.
  • Use LLDB commands to investigate issues in code.
  • Add actions to breakpoints to improve your debugging workflow.
Lesson 3

LLDB and Breakpoint Actions

  • Learn about LLDB (low-level debugger)—the debugging super tool.
  • Use LLDB commands to investigate issues in code.
  • Add actions to breakpoints to improve your debugging workflow.
Lesson 4

Breakpoints and Visual Tools

  • Set special exception and symbolic breakpoints.
  • Use Xcode's visual debugging tools to fix user interface problems.
  • Practice debugging and fixing issues in an existing application.
Lesson 4

Breakpoints and Visual Tools

  • Set special exception and symbolic breakpoints.
  • Use Xcode's visual debugging tools to fix user interface problems.
  • Practice debugging and fixing issues in an existing application.

Prerequisites and Requirements

This course assumes rudimentary iOS programming experience. You should be able to scan Swift code to identify methods and errors, and make minor changes to correct them.

See the Technology Requirements for using Udacity.

Why Take This Course

Debugging is one of the most fundamental processes involved in writing software. Nobody writes perfect code, and job-ready developers should know how to find and fix programming errors.

In this course, you'll learn standard methodologies for debugging software—especially for iOS applications. Additionally, you'll learn how to use Xcode’s debugging tools (breakpoints, LLDB, etc.) to squash those bugs!

What do I get?
  • Instructor videos
  • Learn by doing exercises
  • Taught by industry professionals
Icon globe e82eae5d45465aba4fbe4bb746905ce55dc3324f310b79c60e4a20089057d347

Udacity 现已提供中文版本! A Udacity tem uma página em português para você! There's a local version of Udacity for you! Sprechen Sie Deutsch?

Besuchen Sie de.udacity.com und entdecken Sie lokale Angebote, unsere Partnerunternehmen und Udacitys deutschsprachigen Blog.

前往优达学城中文网站 Ir para a página brasileira Go to Indian Site Icon flag de deedb1a7a695700236cb6ef4204ddbede5d197dab9b47716c87a0b4d5d9fc325 Zu de.udacity.com continue in English