Bugs are bound to happen. Getting rid of them is an essential skill if you want to keep your sanity when building apps.
In this course, you will learn a set of thinking skills to couple with the fundamental tools that Xcode provides you for finding and fixing flaws in your apps.
🐞1.5 hours 🦟To the point 🐛Engaging storyline 🐜Relevant demos
First, you will learn to approach debugging situations with a set of principles for strategic problem solving.
Next, you will discover how to configure breakpoints and inspect view hierarchies effectively.
Finally, you will explore how to interpret a backtrace, glean valuable information from the Xcode debug area and console, locate changes in your codebase and simulate conditions that happen in the wild.
When you are finished with this course, you will have the skills and knowledge to strategically and methodically reason about probable causes of defects that you experience at runtime.
1 – Debugging as Strategic Problem Solving
Debugging means a lot of things to a lot of people.
In this module, I will define the scope of debugging for you so that you’re clear on the skills you’ll walk away from this course with.
You will begin to develop a problem solving mentality and learn a useful mnemonic for R.E.P.A.I.R.-ing broken apps.
Learn how to categorize bugs into buckets for strategic resolution.
Explore some of the most common sources of bugs to complete this module.
2 – Correcting Unmet Expectations
Probabilistic thinking is the key component of a debugging mindset.
Topics in this module include…
- Pausing an App to Gather Clues With Breakpoints
- Combining Problem Solving with Xcode Tools
- Managing Your Project’s Breakpoints
- Controlling Breakpoints by Defining Trigger Conditions
- Executing Actions When Breakpoints Are Triggered
- Inspecting User Interface Issues
4 – Addressing App Crashes
When an app crashes, it’s because of a critical problem that can’t be recovered from.
In this module you will work on the following:
- Understanding Exceptional Issues
- Inspecting the Crash Scene with the Backtrace and Console Output
- Pausing before Errors and Exceptions Cause Crashes
- Avoiding Errors that Cause Crashes
5 – Alleviating Anomalies
Have you ever found yourself saying, “Something weird is going on” or “It used to work - what’s going on now??”
Have you ever experienced one of those “intermittent” bugs that seem to present themselves rarely or inconsistently and are hard to even reproduce?
Anomalous bugs can feel like they occur “out of nowhere”… but do they?
To find out, you will explore these topics:
- Reasoning About Anomalous Bugs
- Inspecting App Changes
- Simulating Real-World Conditions With Xcode
My unwavering goal is to help you filter the noise and learn as efficiently as possible.
I welcome feedback on this course, and on other iOS development courses you might be interested in seeing in the Pluralsight library. Happy learning!