UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

What are the most common problems with debugging in iOS?

Recorded – watch the full episode on YouTube.

Let’s get into the kinds of advantages of debugging, plus mistakes people make, and more tips and advice you have to help them do really well at debugging.

Carola Nitz: I think the biggest one is that people just don't know about what kinds of tools they have at hand. For most of them, there is stuff they know about the break points they know may be about PO and LLDB but they actually don't know how powerful the view debugger is. Or how you can use instruments to learn where your memory issues are or how you can actually edit a breakpoint. And there are also so many great third party tools out there and you just need to know about all of them to be able to find a problem super fast. It's not just only print debugging.

Paul Hudson: Right, but I guess knowing all the tools out there is quite a job, right? Because there are maybe three or four dozen out there doing various things, sometimes doing very similar things, and you got to know which tool is slightly better in each case. It's hard when you're starting out presumably to try and get an idea of all the tools that really are out there.

“There are also so many great third party tools out there and you just need to know about all of them to be able to find a problem super fast. It's not just only print debugging.”

Carola Nitz: That's true. I still learn from my colleagues as well but I guess if you go in - I've been in a couple of talks where I hope people get an overview of what is out there, and they go to a couple of other talks, or read a couple of other documents, and then you just go in see what is out there and how that might help you.

This transcript was recorded as part of Swiftly Speaking. You can watch the full original episode on YouTube, or subscribe to the audio version on Apple Podcasts.

Listen on Apple Podcasts

BUILD THE ULTIMATE PORTFOLIO APP Most Swift tutorials help you solve one specific problem, but in my Ultimate Portfolio App series I show you how to get all the best practices into a single app: architecture, testing, performance, accessibility, localization, project organization, and so much more, all while building a SwiftUI app that works on iOS, macOS and watchOS.

Get it on Hacking with Swift+

Sponsor Hacking with Swift and reach the world's largest Swift community!

BUY OUR BOOKS
Buy Pro Swift Buy Pro SwiftUI Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Beyond Code

Was this page useful? Let us know!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.