Re: Crashing Problem calling postNotificationName
Re: Crashing Problem calling postNotificationName
- Subject: Re: Crashing Problem calling postNotificationName
- From: Jerry Krinock <email@hidden>
- Date: Tue, 10 Sep 2013 06:45:28 -0700
On 2013 Sep 10, at 04:52, Pax <email@hidden> wrote:
> What do the debug logs for the crash say? At what point does the crash occur? Is your program getting into parseOperationComplete?
Yes, like Pax said, and also, assuming that Xcode stops and shows you a call stack, make sure you've got that damned slider at the bottom of the Debug Navigator set all the way to the right.
Between the messages you get in the Debug Area and call stack in the Debug Navigator, crashes while posting notifications are usually pretty easy to troubleshoot. Most of them occur because an object which has been registered to receive the notification has been deallocced or does not respond to the message it has been registered to receive. Search your code for the notification name string or constant (looks like kNotificationName in your case) and consider those two possibilities in each case.
If you still can't figure it out, copy and post what Xcode gives you in both the Debug Area and the Debug Navigator. You may need to improve your Xcode setup.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden