IOS EXC_BAD_ACCESS: how to debug?

I get EXC_BAD_ACCESS. I know what this usually means: trying to access an object that doesn't exist (anymore) is the most likely reason.

So where can I find this?

I read numerous posts on the Internet, and they all say:

"Enable NSZombie" in the circuit.

Now when I run the debugger, what should I look for? I do not see any difference ...

Note. This is not about a percussive error in my code, but about how to use the debugger with NSZombie enabled

+4
source share
2 answers

, , EXC_BAD_ACCESS. .

, , , Xcode "po" XCode. .

- - . .

, , , , .

+3

@synchronized(){}.

:

@synchronized (self){   //Your Code   }
+1

All Articles