I'm writing my first iPhone app, so there is a lot of guessing about how things work. The objC memory model takes a while to get used to. After adding some code I got stuck in applicationDidFinishLaunching. The app was crashing while sending a message to an object which I was sure should have been created at that point in the code. The message receiver could not have been simpler, it was just a print statement for debugging:
NSLog("got message")
After trying a whole bunch of things, I finally decided to delete the debug statement even though I knew it wouldn't change anything. It started to work again. The print statement should have been
NSLog(@"got message")
Oh well. What similar situations have you been in?