Saturday, March 14, 2009

Debugging Part 2

My first screencast on Debugging was missing something very important, as was pointed out in the comments. I thought I'd do a quick addendum screencast to provide the information I missed. Here's a screencast about symbolic breakpoints, a very handy tool to have in your debugging toolkit:





10 comments:

VesperDEM said...

These screen casts are absolutely wonderful and very helpful for me. One point of criticism, the audio quality isn't the best. We here your "P"'s and such popping on the mic.

A foam cover on the mic would probably fix the popping.

Other than that, I can't wait to see what you come up with next.

dougdrury said...

Jeff,
Friggin' excellent stuff man. Keep up the great work. Your information and book have helped me understand Cocoa and Cocoa Touch in a much faster timeframe. You rock!

Jonathan said...

Awesome, I was wondering why I was having such a hard time tracking down exceptions.

However, the sound level is also a bit low. I had to turn my volume all the way up, and even then it was pretty soft.

bobh said...

Thanks for the excellent screencast and I really like your iPhone book.
One thing. I'm not able to display Global Variables in the Global Browser. Either my own or the libraries. I'm using the "Debug Configuration". Prob. some dumb thing.
Also, I was following the 'cast in my project and found the text-to-speech option in the breakpoint window. LOL, Life will never be the same.

Jeff LaMarche said...

bobh

Did you make the global viewable, like I showed in the first Debugging screencast? Because there are so many variables spread throughout the various frameworks, displaying them is "opt-in".

Jeff

PJ Cabrera said...

Thanks for these, really appreciate the effort!

Vargo said...

I really appreciate you making these. I apologize in advance because I haven't had a chance to watch these (and I can't right now) so I may be asking a question covered by the videos, but: Where in the world is the Visual Studio "Watch" window equivalent in XCode? This seems like such a basic feature of a debugger. I don't mean some window in which you have to manually print the value of any expression and cast it to its appropriate type and cross your fingers and hope that it displays. I mean, a simple window where you can type an expression and *reliably* see its value, or its expansion if it's a complex type. Does such a thing exist in XCode? I've seen the Expression Viewer which sounds promising, but for the life of me I can't get even the simplest expressions to evaluate.

4thspace said...

Maybe I'm missing something but how does breaking on objc_exception_throw help you in any way? Perhaps in a super simple console app but try that in a navigation based app. You won't be able to step backwards to the offending line of code. You'll just get lost in machine code. Finding that type of exception will still be trial and error.

JeansPilot said...

JeansPilot offers the chance to buy a large variety of men’s and women’s jeans clothing from the world famous Italian Brands.
Online jeans clothing store looks for original fashion clothing sales and clearances of worldwide known designers. We participate in fashion auctions to get the lowest possible price for Top quality Clothes, Shoes and Accessories.
Buy Jeans

h4ns said...

What youre saying is completely true. I know that everybody must say the same thing, but I just think that you put it in a way that everyone can understand. I also love the images you put in here. They fit so well with what youre trying to say. Im sure youll reach so many people with what youve got to say.

Arsenal vs Huddersfield Town live streaming
Arsenal vs Huddersfield Town live streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Notts County vs Manchester City Live Streaming
Notts County vs Manchester City Live Streaming
Bologna vs AS Roma Live Streaming
Bologna vs AS Roma Live Streaming
Juventus vs Udinese Live Streaming
Juventus vs Udinese Live Streaming
Napoli vs Sampdoria Live Streaming
Napoli vs Sampdoria Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
AS Monaco vs Marseille Live Streaming
AS Monaco vs Marseille Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Technology News | News Today | Live Streaming TV Channels