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

4 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

Leave a Reply

  • Recent Comments

    • Ahmed: @fernyb.. Thanks man! I forked the project, but I am newbie in open source, and don’t know where to...
    • fernyb: @Ahmed, yeah you can help. It’s hosted on (http://github.com/fernyb/Cupc ake) so you can also fork it...
    • Ahmed: And hey! Can I help with your new PHP framework? plssssssssss :( (
    • Ahmed: hmmmmm I just wanna ask you about something… did you ever create API for Craigslist? I am thinking of...
    • Matt James: Same here… amazing project that I have been very happily using for a while. Sadly it seems to be...

    Recent Listened to Tracks

    Loading...


My blog is worth $1,693.62.
How much is your blog worth?


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

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