FROM : Steve Sims
DATE : Tue Aug 24 03:25:11 2004
On 18 Aug 2004, at 18:38, John C. Randolph wrote:
>>> No, it's an environment variable. Set it in the executable
>>> inspector in XCode.
>>>
>>> Actually, that should be "NSZombieEnabled".
>>>
>>> For details, see "NSDebug.h".
>>
>> Thanks for the pointer. Now, do I define NSZombieEnabled as 1, or
>> YES, or just anything at all? FWIW, I tried 1, and didn't see any new
>> info in the run log...
>
> Set it to YES.
>
> It won't log anything until/unless you send a message to a freed
> object.
I'm facing a similar problem right now - I'm getting an EXC_BAD_ACCESS
exception in my app at semi-random times.
I tried setting NSZombieEnabled, (double clicked on my executable in
the XCode Groups & Files list and added NSZombieEnabled as an
environment variable set to yes) but I'm not seeing any additional
messages logged anywhere that I can see. Nothing in the GDB console,
the system console, or anywhere I can think of. Is there some magic
place that Zombie messages should be appearing?
Right now I can only make guesses as to exactly what's going on. The
logical route I have right now to working out what could be causing
this is to insert a whole big stack of debug logging. Any other
suggestions would most definitely be appreciated.
Steve
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Tue Aug 24 03:25:11 2004
On 18 Aug 2004, at 18:38, John C. Randolph wrote:
>>> No, it's an environment variable. Set it in the executable
>>> inspector in XCode.
>>>
>>> Actually, that should be "NSZombieEnabled".
>>>
>>> For details, see "NSDebug.h".
>>
>> Thanks for the pointer. Now, do I define NSZombieEnabled as 1, or
>> YES, or just anything at all? FWIW, I tried 1, and didn't see any new
>> info in the run log...
>
> Set it to YES.
>
> It won't log anything until/unless you send a message to a freed
> object.
I'm facing a similar problem right now - I'm getting an EXC_BAD_ACCESS
exception in my app at semi-random times.
I tried setting NSZombieEnabled, (double clicked on my executable in
the XCode Groups & Files list and added NSZombieEnabled as an
environment variable set to yes) but I'm not seeing any additional
messages logged anywhere that I can see. Nothing in the GDB console,
the system console, or anywhere I can think of. Is there some magic
place that Zombie messages should be appearing?
Right now I can only make guesses as to exactly what's going on. The
logical route I have right now to working out what could be causing
this is to insert a whole big stack of debug logging. Any other
suggestions would most definitely be appreciated.
Steve
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.






Cocoa mail archive

