"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.
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.
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.
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.
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.