WWDC23 SALE: Save 50% on all my Swift books and bundles! >>

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

Save 50% in my WWDC23 sale.

SAVE 50% To celebrate WWDC23, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

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.