• 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: Using NSObjCMessageLoggingEnabled, how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSObjCMessageLoggingEnabled, how?


  • Subject: Re: Using NSObjCMessageLoggingEnabled, how?
  • From: "Jonathan del Strother" <email@hidden>
  • Date: Mon, 2 Jun 2008 11:39:53 +0100

On Mon, Jun 2, 2008 at 11:31 AM, Ken Tozier <email@hidden> wrote:
> Well the messages log OK, but there are just too many of them to be of any
> use. It's impossible to follow as it logs EVERYTHING, not just messages to
> and from registered observers. Is there any way to limit the messaging to
> get/set actions on a specific property?
>
> I've already tried to track down this bug by putting NSLogs immediately
> before and after everything that sets the property in question but I'm still
> getting double calls to "observeValueForKeyPath" for single calls to
> "setPageNumber." There seems to be something going on "under the hood"
> that's causing this double invocation.
>

Sounds like this would be a really good time to start using the debugger...
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Using NSObjCMessageLoggingEnabled, how? (From: Ken Tozier <email@hidden>)
 >Re: Using NSObjCMessageLoggingEnabled, how? (From: email@hidden)
 >Re: Using NSObjCMessageLoggingEnabled, how? (From: Ken Tozier <email@hidden>)
 >Re: Using NSObjCMessageLoggingEnabled, how? (From: "Jonathan del Strother" <email@hidden>)
 >Re: Using NSObjCMessageLoggingEnabled, how? (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Using NSObjCMessageLoggingEnabled, how?
  • Next by Date: Re: Using NSObjCMessageLoggingEnabled, how?
  • Previous by thread: Re: Using NSObjCMessageLoggingEnabled, how?
  • Next by thread: Re: Using NSObjCMessageLoggingEnabled, how?
  • Index(es):
    • Date
    • Thread