• 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: Ken Tozier <email@hidden>
  • Date: Mon, 2 Jun 2008 06:31:08 -0400

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.


On Jun 2, 2008, at 5:50 AM, Jonathan del Strother wrote:

On Mon, Jun 2, 2008 at 10:45 AM, Ken Tozier <email@hidden> wrote:
My project is a Quark XTension so there isn't an executable. The extension
is inside the "Products" folder but when I double click that, Quark launches
ang no Xcode panel launches. Also tried doing a "get info" on the target but
couldn't find an "arguments" category. How would I enable this for an
extension (plugin)?

Add a custom executable (Quark) and set the environment variables on that.


Alternatively, try it from the command line, with something along the lines of :

export NSObjCMessageLoggingEnabled=YES
/Applications/Quark.app/Contents/MacOS/Quark  (or whatever)

_______________________________________________ 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
  • Follow-Ups:
    • Re: Using NSObjCMessageLoggingEnabled, how?
      • From: Jens Alfke <email@hidden>
    • Re: Using NSObjCMessageLoggingEnabled, how?
      • From: Paul Sargent <email@hidden>
    • Re: Using NSObjCMessageLoggingEnabled, how?
      • From: "Jonathan del Strother" <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>)

  • 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