Xcode Instruments - Zombies - 我在寻找什么? [英] Xcode Instruments - Zombies - what am I looking for?

查看:388
本文介绍了Xcode Instruments - Zombies - 我在寻找什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Xcode中运行Project / Profile并选择 Zombies 时,该应用程序在启用了 NSZombie detection 的模拟器中运行。但是我该怎么想告诉我有问题呢?我看到的只是运行的分配工具和下面的统计数据。它会在哪里向我显示检测到 Zombie

When I run Project/Profile in Xcode and choose "Zombies", the app runs in the simulator with "NSZombie detection" enabled. But what should I be looking for to tell me that there is a problem? All I see is the Allocation instrument running and the statistics below. Where will it actually show me that a Zombie was detected?

推荐答案

您将在对象分配栏上方获得泄漏。
查看此图片;

You will get the leak above the object allocation bar. Check this image;

参考,请查看此视频

这篇关于Xcode Instruments - Zombies - 我在寻找什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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