• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crashing Problem calling postNotificationName
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Crashing Problem calling postNotificationName (From: Dave <email@hidden>)
 >Re: Crashing Problem calling postNotificationName (From: Pax <email@hidden>)

  • Prev by Date: Re: Crashing Problem calling postNotificationName
  • Next by Date: Re: Crashing Problem calling postNotificationName
  • Previous by thread: Re: Crashing Problem calling postNotificationName
  • Next by thread: Re: Crashing Problem calling postNotificationName
  • Index(es):
    • Date
    • Thread