How to use Zombie while debugging iPhone application?
如何在调试iPhone应用程序时使用Zombie ?
2 个解决方案
#1
2
It's about setting up an environment variable. See the following article for details http://www.cocoadev.com/index.pl?NSZombieEnabled
它是关于设置一个环境变量。有关启用nszombieenabled的详细信息,请参见以下文章
Take good care of not letting this in place because no memory will ever be free.
注意不要让它出现,因为没有记忆是免费的。
#2
0
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.
你可以打开乐器,选择僵尸乐器,然后从“选择目标”下拉菜单中选择你的应用目标。使用你的应用程序直到它崩溃,这将导致你的僵尸对象导致它崩溃。提醒不要使用泄漏乐器与僵尸,因为它将展示许多泄漏(对象不收回保存在内存测试如果他们可以僵尸期货),记住它将使用大量内存,所以你最好你为这个任务模拟器。
#1
2
It's about setting up an environment variable. See the following article for details http://www.cocoadev.com/index.pl?NSZombieEnabled
它是关于设置一个环境变量。有关启用nszombieenabled的详细信息,请参见以下文章
Take good care of not letting this in place because no memory will ever be free.
注意不要让它出现,因为没有记忆是免费的。
#2
0
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.
你可以打开乐器,选择僵尸乐器,然后从“选择目标”下拉菜单中选择你的应用目标。使用你的应用程序直到它崩溃,这将导致你的僵尸对象导致它崩溃。提醒不要使用泄漏乐器与僵尸,因为它将展示许多泄漏(对象不收回保存在内存测试如果他们可以僵尸期货),记住它将使用大量内存,所以你最好你为这个任务模拟器。