Re: runModalForWindow crash
Re: runModalForWindow crash
- Subject: Re: runModalForWindow crash
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 25 Jan 2010 10:06:15 -0700
On Jan 24, 2010, at 6:14 PM, Jo Meder wrote:
> My guess is that [NSApplication runModalForWindow:] is trying to send a message to my window object which has been released by now perhaps? I think I'm probably not getting something to do with object lifetimes here or something. Does anyone have any ideas what the problem might be?
Try running your program in Instruments with the zombies instrument. Programs crash in objc_msgSend() when something sends a message to a deallocated object. The zombies instrument will catch this and show you the retain/release history of the bad object.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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