如何在调试iPhone应用程序时使用Zombie?
如何在调试iPhone应用程序时使用Zombie?
How to use Zombie while debugging iPhone application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
如何在调试iPhone应用程序时使用Zombie?
How to use Zombie while debugging iPhone application?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
这是关于设置环境变量。详细请看下面的文章
http://www.cocoadev.com/index.pl?NSZombieEnabled
小心不让它就位,因为没有内存是免费的。
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.
您可以打开“仪器”并从“选择目标”下拉菜单中选择“僵尸”仪器和您的应用程序目标。并使用您的应用程序直到它崩溃,这将导致您找到导致其崩溃的 Zombie 对象。
提醒不要将 Leak 工具与 Zombie 工具一起使用,因为它会显示许多泄漏(未释放的对象保留在内存中以测试它们将来是否会成为僵尸)并记住它会使用大量内存,因此您最好用于此任务的模拟器。
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.