Whether you're new to the platform or a long-time veteran, one of the skills that you'll need to have when creating your iOS apps is the ability to successfully debug your code. In this course, iOS Debugging in Xcode, you'll cover all of the various ways to organize, debug, and interrogate your code so that you can make your iOS app ready for deployment in no time. First, you'll learn what tools are available in the Xcode IDE to help with your debugging. Next, you'll learn some of the best patterns and practices to use in your debugging code. Finally, you'll learn what instruments are and how to utilize them. By the end of this course, you'll be able to not only debug your applications with ease but also know how to write code that will allow you to find issues in your code quicker and easier.
Matt Kruczek is the VP of Mobile, Web and AI at Tallan. Matt has extensive experience in the software industry and is responsible for creating and maintaining any and all architectures and strategies pertaining to the mobile, web and AI disciplines. He has architected and developed several end-to-end Line of Business applications using a variety of Microsoft Technologies including WCF, WPF, ASP.NET , C#, VB, MVC, SQL Server, Microsoft Bot Framework and Entity Framework.
Course Overview Hi everyone, my name is Matt Kruczek and welcome to my course on iOS debugging in Xcode. I am the director of Mobile and Web here at Tallan. Now no one can write perfect code, and knowing how to find the flaws in that code is always going to be a useful skill. So in this course we're going to talk about the ins and outs of debugging your iOS applications in the Xcode IDE. Some of the major topics that we will cover include what tools are available in Xcode to help you with your debugging, what are some of the best patterns and practices to use in your debugging code, and finally, what instruments are and how to utilize them. Now by the end of this course, you'll be able not only to debug your applications with ease, but also know how to write code that will allow you to find issues quicker and easier. Before beginning this course, you should be familiar with the basics of Objective-C and Swift and also the Xcode IDE. I hope you'll join me on this journey to learn debugging with iOS debugging in Xcode at Pluralsight.
Fundamentals - Part 1 Hi this is Matt Kruczek with Pluralsight and welcome to my course in iOS Debugging in Xcode. This is the first module in the series of modules that will be a deep dive into some of the tricks and techniques that will make debugging your iOS applications much easier and more efficient. So I'd like to start this course off with a quote from Steve McConnell who is a pretty well known software engineer. He wrote some pretty significant books on software design that have come to be the foundation of many of the patterns that we follow today. Now what he said was, "It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed the code is error-free. " Now the reason I like this quote is because to me it highlights the importance of good debugging skills. Now I don't care if you're Bill Gates or Linus Torvalds, when you write code I can guarantee there's going to be bugs. So it's really critical that you have a good understanding of how to find those bugs and correct them. Now oftentimes when we're learning a new language we focus in so much on how to write something using the proper syntax that we kind of get this false sense of security in that we just assume that everything is going to work right and we never prepare for when things go wrong. Now for me, coming from a Microsoft Stack background, when I started into programming with Xcode, I was initially really frustrated about how foreign the Xcode IDE was to me and how all the skills that I had acquired in Visual Studio, they didn't really translate over to Xcode at all, especially in the realm of debugging. Therefore I really made it my mission not only to learn the right way to code something, but how to handle figuring out what went wrong when inevitably something went wrong. And that's really what this course is about, what to do when things go wrong.
Fundamentals - Part 2 Hi this is Matt Kruczek with Pluralsight and this is the second module covering the Fundamentals of iOS Debugging and Xcode.
Errors and Exceptions Sooner or later every developer is going to run into an exception. Knowing what that exception means and why it may have occurred is critical to being able to fix the problem. So in this module I'm going to review exceptions in all their many forms. So let's have a look at some of the things we're going to talk about in this module.
Breakpoints Knowledge of breakpoints is an essential skill to possess in order to effectively interrogate and debug applications. So in this module I will be discussing in depth breakpoints and their many uses.
Instruments The Instrument suite is a product designed by Apple to be a companion to Xcode to help you through your debugging. Knowing how it can help you and how to utilize it to its full potential can greatly augment your debugging skills.