Why learn debugging? This introductory episode will answer this question and preview the course.
Hiiii everyone, this is Felipe. Welcome to the iOS Debugging Fundamentals course, a course where I must ask for your help!
You see, my house, as well as my iOS project, are both full of bugs. I know absolutely nothing about how to remove bugs from a house, but fortunately for us, I do know how to debug our code and application.
As a developer, and having followed along some of our courses, books, or tutorials, you’ve surely ran into problems, code issues, and unexpected behavior in your applications. These are commonly referred to as bugs.
How can you fix these bugs and issues when they come up?
In this course, you’ll learn how to debug your code using Xcode, and I’ll learn how to debug my house.
We’ll teach you everything you need to know along the way, even if you’ve never done any debugging in Xcode before. In the first four episodes we’ll focus on the Xcode debugger.
This includes: setting breakpoints to pause execution of your code. Working with breakpoints. Inspecting variables when debugging. Using the Xcode debugger. Working with the debugger’s console.
From there, we’ll move on to: controlling the flow of code execution with breakpoints, as well as learning more about the call stack that every application has.
Finally, we’ll take a look at: how to debug your user interfaces using the iOS simulator (or a device if you were to have one for running your application); how to debug your SwiftUI views using Live Previews.
These concepts will be quite helpful for UI-related bugs that may be harder to spot just by looking at code, or to debug your views and interfaces in a more visual way.
This course is designed to be hands-on, So we’ll be working with Xcode and changing our code in order to fix all of the bugs in the app. It’s very important that you don’t just watch the excercises, but actually follow along.
In addition, the course contains a few challenges, where you’ll get to practice what you’ve just learned on your own. It’s in your best interest to actually pause the video and try solving the challenges — you will learn a ton by doing this.
There is a big difference between knowing the path and walking the path. In my experience, the best way to learn become better at debugging is by actually practicing the art of debugging :)
Are you ready to get started? I am!
I can’t wait to get rid of all of the bugs in my house, and I’m sure you’re eager to learn about debugging, how to use Xcode’s tools for this, and eliminate the bugs in your code one at a time.
See ya in the next episode! :)