I have enabled NSZombie and i got the message as “message sent to deallocated instance”, I know it is a memory management issue, but why my try catch or uncaught exception handling techniques work with Zombies, why aren’t they caught in the catch braces, is there any way to stop my app from crashing at runtime, Any solution is appreciated in Advance Thanks
Share
There is a way to stop the app crashing at runtime :
Don’t send messages to deallocated instances 🙂
More helpfully, instead of trying to hide a bug you should probably be concentrating more on finding its root cause, otherwise you have no idea what other side effects it’s having on your app or what trouble it will cause in the future.
If you add some code and stack traces / console output to your question we can help find the problem.