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
  • Icon course 01 3edf6b45629a2e8f1b490e1fb1516899e98b3b30db721466e83b1a1c16e237b1 Rich Learning Content

  • Icon course 04 2edd94a12ef9e5f0ebe04f6c9f6ae2c89e5efba5fd0b703c60f65837f8b54430 Interactive Quizzes

  • Icon course 02 2d90171a3a467a7d4613c7c615f15093d7402c66f2cf9a5ab4bcf11a4958aa33 Taught by Industry Pros

  • Icon course 05 237542f88ede3178ac4845d4bebf431ddd36d9c3c35aedfbd92e148c1c7361c6 Self-Paced Learning

  • Icon course 03 142f0532acf4fa030d680f5cb3babed8007e9ac853d0a3bf731fa30a7869db3a 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

Thanks for your interest!

We'll be in touch soon.

Icon globe e82eae5d45465aba4fbe4bb746905ce55dc3324f310b79c60e4a20089057d347

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

前往优达学城中文网站 Ir para a página brasileira Go to Indian Site or continue to Global Site