iPhone:是否存在内存泄漏分析器? [英] iPhone: Existence of a Memory Leak Profiler?

查看:74
本文介绍了iPhone:是否存在内存泄漏分析器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有Iphones应用程序的内存分析器之类的东西?

Is there such a thing as a Memory profiler for Iphones apps?

我想随时了解内存中有哪些对象.

I'd like to know what objects are in memory at any moment.

推荐答案

您将要使用Instruments来分析您的App.您可以使用不同的模板来运行您的应用.

You'll want to use Instruments to profile your App. You can run your app with different templates.

在XCode中,选择运行>从性能工具开始>对象分配

In XCode, select Run > Start With Performance Tool > Object Allocations

这篇关于iPhone:是否存在内存泄漏分析器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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