• 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
how to debug notification that's never received?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to debug notification that's never received?


  • Subject: how to debug notification that's never received?
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 03 Mar 2006 13:17:32 -0800
  • Thread-topic: how to debug notification that's never received?

In class A, I post a notification. I know from logging that the posting code
is being executed.

In class B, I've registered to receive that notification, but it never
arrives.

I've double-checked the registration, dicking with the notification name and
all sorts of things, but I can't make the notification arrive.

In the end, after about two hours of dicking around, I simply threw up my
hands and solved the problem a different way. I never figured out what the
problem was! So how might I have debugged this? Is there a way to dig into
the internals of the notification center and see who is registered to
receive what, and to find out exactly what happens when the notification is
posted? m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: how to debug notification that's never received?
      • From: Jonathan del Strother <email@hidden>
    • Re: how to debug notification that's never received?
      • From: Cameron Hayne <email@hidden>
  • Prev by Date: NSTreeController with different classes
  • Next by Date: Re: Advice on using NSCell
  • Previous by thread: NSTreeController with different classes
  • Next by thread: Re: how to debug notification that's never received?
  • Index(es):
    • Date
    • Thread