When running into EXC_BAD_ACCESS errors during iPhone development, enabling NSZombieEnabled can easily debug access error.

EXC_BAD_ACCESS error is a general error in your iOS application, but is hard to debug and find the route cause for this error in your application.The main reason of EXC_BAD_ACCESS error to happen is that – somewhere in your application code you are trying to send a message to an object that has already been released.

 

So how we will find the root cause of this error? (more…)