On Mar 7, 2009, at 2:24 PM, Matt Crocker wrote:
Can anyone give me any pointers of how to proceed? I've tried a few obvious things such as removing the "release" commands in the dealloc method, and am loathed to start removing big chunks of code elsewhere to see what happens...
Use Instruments' object alloc instrument with retain/release counting turned on. Run your program and reproduce the problem. Watch the console for the error to appear. Pause Instruments (if necessary) and look for the activity in that memory address. The backtraces presented in the most recent usages ought to help you isolate the problem, which is usually (a) an over-release, or (b) a proper release, but you kept the old pointer around instead of reassigning it.
Nick Zitzmann <http://www.chronosnet.com/> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com