{"id":243,"date":"2009-03-01T13:26:27","date_gmt":"2009-03-01T21:26:27","guid":{"rendered":"http:\/\/fernyb.net\/blog\/?p=243"},"modified":"2009-03-12T07:07:56","modified_gmt":"2009-03-12T15:07:56","slug":"xcode-gdb","status":"publish","type":"post","link":"http:\/\/fernyb.net\/blog\/2009\/03\/01\/xcode-gdb\/","title":{"rendered":"XCode &#038; GDB"},"content":{"rendered":"<p>Lately, I&#8217;ve learned how to use GDB with XCode and it&#8217;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&#8217;s value in a new method.<br \/>\nWell, 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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lately, I&#8217;ve learned how to use GDB with XCode and it&#8217;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&#8217;s value in a new method. Well, it happen to be I was using a UITableViewDelegate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,6,3,9],"tags":[120,73,72,121,122,124],"_links":{"self":[{"href":"http:\/\/fernyb.net\/blog\/wp-json\/wp\/v2\/posts\/243"}],"collection":[{"href":"http:\/\/fernyb.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fernyb.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fernyb.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fernyb.net\/blog\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":4,"href":"http:\/\/fernyb.net\/blog\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"predecessor-version":[{"id":248,"href":"http:\/\/fernyb.net\/blog\/wp-json\/wp\/v2\/posts\/243\/revisions\/248"}],"wp:attachment":[{"href":"http:\/\/fernyb.net\/blog\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fernyb.net\/blog\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fernyb.net\/blog\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}