Hi Bill,

Thanks for your reply.

You can't set NSZombieEnabled after a program has started running. You need to set it as an environment variable and restart your app.

Actually you can, or at least I have, in many other projects to good effect. I always figured as long as the deallocated object was created after I set the runtime variable, a zombie would be swapped in as needed. Was it just luck?

Actually, all of the tools have improved so much, I do all of my dev work in Snow Leopard, booting back to Leopard for final testing / QA prior to release (for the very tiny handful of things I still do on Leopard, anyway :).

No doubt! I still regularly work on and target Tiger, so I realize my workflow is archaic :P

In any case, it seems like there's something really weird going on with this one project. I can't seem to touch any Cocoa from gdb, though other calls are fine:

        (gdb) po [NSArray array]
        Could not find OSO file: ""
        (gdb) p/x (void*)CFDictionaryCreateMutable(0, 99, 0, 0)
        $1 = 0x185ea00
        (gdb) p/x (void*)malloc(99)
        $1 = 0x323bb0

My target is configured to link with the Cocoa framework. Perhaps I should take this to the XCode list, though if anyone has any suggestions I'd be happy to hear them :)

Cheers,
~Martin

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to