Reputation: 12431
Need some advise here. Can you recommend some tools or methods to detect memory leaks and more importantly check for 'EXC_BAD_ACCES' errors.
Is NSZombie recommended? I tried to use that was not able to run the malloc history.
Any advise is greatly appreciated!
Zhen Hoe
Upvotes: 2
Views: 2153
Reputation: 10172
you can use "NSZombieEnabled" to track your EXC_BAD_ACCESS problem(it'll give you some details of badly accessed objects), how to use it?, and also refer this link(very consitently) Break on EXC_BAD_ACCESS in XCode?
Upvotes: 0
Reputation: 3348
For memory leaks, you can use Instruments, comes with the Developer tools. Also, you can use “Analyze” to get XCode to show you any possible leaks (Cmd-Shift-B).
Upvotes: 1