Re: Using NSObjCMessageLoggingEnabled, how?
Re: Using NSObjCMessageLoggingEnabled, how?
- Subject: Re: Using NSObjCMessageLoggingEnabled, how?
- From: "Jonathan del Strother" <email@hidden>
- Date: Mon, 2 Jun 2008 10:28:54 +0100
On Mon, Jun 2, 2008 at 10:25 AM, Ken Tozier <email@hidden> wrote:
> Hi
>
> I'm trying to log messages to track down a really pesky messaging bug where
> a KVO observer's "observeValueForKeyPath" class is always called twice
> whenever the observed object's "pageNumber" property changes. I googled
> around a bit and found that you can enable message logging by enabling
> "NSObjCMessageLoggingEnabled."
>
> Further googling led me to tech note "tn2124" which tells you can "set the
> environment variable" (with no examples of HOW to set it of course) and a
> blog post that says to set it like this:
>
> export NSObjCMessageLoggingEnabled=YES
>
> But when I do that, I get the compile errors:
>
> expected `template' before 'NSObjCMessageLoggingEnabled'
> error: expected constructor, destructor, or type conversion before '=' token
>
> How and where should I set this variable?
See http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/06_10_rn_executable/chapter_40_section_5.html#//apple_ref/doc/uid/TP40002698-CJBFDBCE
_______________________________________________
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