Making sense of CrashReporter…

So, if I have a CrashReporter dump for a release application I am trying to troubleshoot, I found the following page very helpful: http://developer.apple.com/tools/xcode/symbolizingcrashdumps.html Essentially, I can take the crash report and find out what line of code the error occurred at. But, you have to have the source code in order to do this … Read more

Hey… where’d you go?

A co-worker of mine had trouble debugging his library in Xcode. For some strange reason, GDB would not stop at any of his breakpoints. He did the usual printf and NSLog to see if the code was even being called, and sure enough… it was. The only way he was able to fix it was … Read more

Test cases

You can never test too often…. and on that subject, you should try to test early. Getting into the mood of writing test cases though takes away from the fun of actually coding. Recently, I have paid a lot more attention to testing and test cases than I ever had in my coding past. Reason … Read more

Exceptions are for programming errors

You should catch errors but be very careful about swallowing it and not re-throwing the exception. I have seen this in certain projects where exceptions are swallowed and the developer of the offending code never even knows that this happened. So months can go by without any testing, you are doing early testing … right?!… … Read more