开发者

How to use Zombie while debugging iPhone application?

How to use Zombie while 开发者_StackOverflow中文版debugging iPhone application?


It's about setting up an environment variable. See the following article for details http://www.cocoadev.com/index.pl?NSZombieEnabled

Take good care of not letting this in place because no memory will ever be free.


You can open up Instruments and choose the Zombie instrument and next your app target from the 'Choose Target' drop down menu. And use your app till it crashes this will lead you to the Zombie object that causes it to crash. Remind not to use the Leak instrument with the Zombie one since it will show many leaks (the objects not deallocated kept in memory to test if they can be zombies in the futures) and remember it will use lots of memory so you'd better you the simulator for this task.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜