I appear to have some overzealous releasing going on in my obj-C app - getting error message
\"-[myobj release]: message sent to deallocated instance
What worked best for me when I ran into similar problems recently was the following:
Under under Project->Edit Active Executable -> Arguments tab -> Environment variables section I added and set to YES
the following variables: NSAutoreleaseFreedObjectCheckEnabled
, NSZombieEnabled
and NSDebugEnabled
.
Under the Run menu, I selected Enable Guard Malloc.
With these settings the debugger provided more hints on what's wrong with my code.
(I found these tips here)
Good luck, Ori