XCode & GDB

Posted in Mac, Me, Programming, Projects on Mar 01, 2009

Lately, I’ve learned how to use GDB with XCode and it’s awesome! It really saves your lots of time debugging an app. I was having lots of trouble trying to figure out why an instance variable was not retaining it’s value in a new method.
Well, it happen to be I was using a UITableViewDelegate and those methods where being called before my setter method and so the instance variable was nil, the only way I found this out was by using GDB and believe me NSLog for debugging is not always going to work.

Trackback URI | Comments RSS

5 Responses to “ XCode & GDB ”

  1. # 1 Kolby Says:

    Did you follow a tutorial on how to learn it? I have been trying to learn it but have not succeeded very well at it.

  2. # 2 fernyb Says:

    @Kolby, I watched Bill Dudney’s screencast of Debugging Objective-C. It’s good. http://pragprog.com/screencasts/v-bdobjc/coding-in-objective-c-2-0

  3. # 3 MusicVideoGuy Says:

    Hey Fernyb,

    We are all so grateful to the great work you have done over the years. I noticed that GAMV-PHP is down and I wondered if we might see software releases anymore ?

    -MV

  4. # 4 DennisBB Says:

    Asm ruleeeeees

  5. # 5 Chris Manghane Says:

    Extremely precious post. Myself and my own neighbor ended up intending to effort a little bit of preliminary research about this. We all ordered an important guide upon that will make a difference by way of each of our community catalogue and most textbooks wasn’t while precise as your articles. I am quite pleased to get this type of information that we was searching for a long time.

Leave a Reply

  • Recent Comments

    • tory burch canvas tote: Incredible, I actually better begin saving this money. Really like a lot of these kind of...
    • Kostenloser Stromanbieter Vergleich online: A truly gripping article. I leave maintain to supervise it.
    • a4928971: I’ve said that least 4928971 times. SCK was here
    • Jennifer Youns: Many thanks to you for sharing these kind of wonderful content. In addition, the optimal travel plus...
    • Alonzo Williams: Thanks for your write-up on the travel industry. We would also like to add that if you’re a...

Bad Behavior has blocked 192 access attempts in the last 7 days.

eastern-avalanche
eastern-avalanche
eastern-avalanche
eastern-avalanche