1

I'm trying to debug an issue that only occurs when my iPhone app receives a push notification.

The trouble is I can't figure out how to get a debugger, or even view any NSLog output, when my app is launched in this way. Xcode gives me a debugger and the gdb console when it launches an app for me.

So how do I run my app in the debugger when Xcode does not launch my app for me?

cdespinosa
  • 20,661
  • 6
  • 33
  • 39
Alex Wayne
  • 178,991
  • 47
  • 309
  • 337
  • possible duplicate of http://stackoverflow.com/questions/1239000/debugging-app-when-launched-by-push-notification – Alex Wayne Apr 17 '10 at 20:49