Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Ben Falk
Ben Falk
3,167 Points

iOS Debugging Resources

Hello all. I've been working my way through the various iOS courses, and I think the main challenge I'm having at the moment deals with debugging -- trying to figure out where in the code something is going wrong, and why it is going wrong. Xcode's errors often seem a bit obscure, and not having a line number to reference (at least compared to PHP and Javascript, which I'm familiar with), makes this challenging.

I know there is a video in the Crystal Ball course about debugging... anyone have any other resources I should look at? I'm sure it gets easier over time, as I run into different types of errors, but any tips or other articles/videos would be helpful. Thanks!

2 Answers

Patrick Cooney
Patrick Cooney
12,216 Points

If you have an Apple developer account definitely check out the debugging videos from the various WWDCs. There were some very good sessions on it this year. I don't remember the names of them though. Haven't had a chance to download the videos yet.

Also, I haven't run through the course yet, but at the risk of getting in trouble for promoting a competitor, PluralSight has a debugging course. And also, something you may be interested in, a testing course. I'm going through the course on writing tests right now.

Ben Falk
Ben Falk
3,167 Points

Patrick Cooney - Appreciated. Not a developer yet -- I was one for a while, then let it expire as I wasn't really actively working on anything. I'll have to check out PluralSight, sine I haven't heard anything about them yet. Thanks!

EDIT: Looks like they have a ten day free trial, so that should be enough time for me to get through that course if I want to. Looks like it's a lot more in depth than anything else I've found so far.