Greetings.

Is there a way to debug why the same "postNotificationName:object:userInfo:" 
would not work the second time it's called?

I have a process downloading stuff from the internet that is repeated. There is 
a download controller that create page downloaders and then adds itself as 
observer for a named notification for each page downloaders it creates. The 
first time, all the notifications fired by the page downloaders are received. 
The second time, I see the log I put just before the notification is sent from 
the page downloader but for some reason, the download controller doesn't 
receive them. I checked and double-checked and can't see what the problem is. 
Like I said, the code used by the download controller is the same each time, 
e.g. a singleton created when the program launches, it's never freed, the page 
downloaders are created and then freed but it's the same code in the page 
downloaders that send the notification, except it doesn't work the 2nd time. 
When the page downloader has finished, it basically just post the same and only 
one notification.

How can I debug this and why the notification center would not send the 
notifications it is asked to post?

-Laurent.
-- 
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://www.nemesys-soft.com/
Logiciels Nemesys Software                                              
laur...@nemesys-soft.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to