Re: Turn on zombies in user environment?
Re: Turn on zombies in user environment?
- Subject: Re: Turn on zombies in user environment?
- From: Graham Cox <email@hidden>
- Date: Mon, 7 Sep 2009 17:34:03 +1000
Great, thank-you all very much! I'm afraid this user is finding even
point-and-click tough going, but I'll try as we have very little else
to go on right now. Installing the dev tools is likely to be out for
the moment.
However, in following your advice I'm not getting the app launched - I
just get "$: Command not found.". I just use the default shell in
Terminal and I don't use it much myself so I'm not sure what the
problem is. I'm on Snow but the user is on 10.5.7 right now.
--Graham
On 07/09/2009, at 5:04 PM, Joar Wingfors wrote:
NSZombie doesn't prevent crashes (since Leopard). If you instruct
the user to launch the app like this:
$ NSZombieEnabled=YES /path/to/Foo.app/Contents/MacOS/Foo
...you will see something like this in the terminal where you
launched the app when you hit a zombie:
*** -[Bar baz]: message sent to deallocated instance 0x1004a8c30
Trace/BPT trap
...where "Bar" is the class of the object being messaged, and "baz"
is the message being sent. If the user isn't running the app under
the debugger, CrashReporter will pop up, and the user can copy out
the backtrace and pass it along to the developer.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden