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

    • Gregorio Schrecongost: obviously like your web-site however you need to check the spelling on quite a few of your...
    • ekstra łazienki: 76. I would like to thank you for the efforts you have put in writing this web site. I’m...
    • djcity record pool: Good day! This post could not be written any better! Reading through this post reminds me of my...
    • Aline Shiner: I in addition to my buddies have already been following the excellent secrets from your website while...
    • Eve: Such superb text! No idea how you wrote this report..it’d take me weeks. Well worth it though, I’d assume. Have...

    Recent Listened to Tracks

    Loading...

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

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