诊断程序和仪器均缺少僵尸选项 [英] Zombie option missing from both diagnostics and instruments

查看:94
本文介绍了诊断程序和仪器均缺少僵尸选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行Xcode 4.0.2的地方,其他SO帖子都建议找到它的两个地方都缺少Zombie选项.

Running Xcode 4.0.2, the Zombie option is missing, from both places where other SO posts have suggested to find it.

产品>运行...看起来像这样:

Product > Run... looks like this:

产品>配置文件如下:

Product > Profile looks like this:

奇怪的是,我以前在此版本的Xcode中使用过Zombies.我使用分配"工具进行了配置文件,单击分配"的信息按钮("i"),然后选中了启用僵尸...",然后在此处显示了该信息.但是当我现在尝试时,我得到了:

What is strange is that I have used Zombies before in this version of Xcode. I did a profile using the Allocations instrument, clicked Allocations' info button ("i") at the upper left, and checked the "Enable Zombie..." that then appeared there. But when I try that now, I get this:

没有更多的僵尸.我是否有可能以某种方式删除了它们?

No more Zombies. Is it possible that I somehow removed them?

推荐答案

在深入研究之后,我在这里找到了答案:

After digging around some more, I found the answer here: zombie question

Ehud B的回答说,您必须针对iOS应用而不是设备使用模拟器.当我切换到模拟器进行性能分析时,僵尸又回来了.

Ehud B's answer says you have to use the simulator for iOS apps, not the device. When I switched to the simulator for profiling, the zombies were back.

我应该注意,Moshe Kravchik的回答表明僵尸在iOS 5中可用.我仍在使用iOS 4.

I should note that Moshe Kravchik's answer indicates that zombies are available in iOS 5. I'm still using iOS 4.

这篇关于诊断程序和仪器均缺少僵尸选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆