xCode 4 中的内存监视器 - iPhone
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5296516/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Memory Monitor in xCode 4 - iPhone
提问by Andrei Neacsu
How can I monitor the memory used on my iPhone in xCode 4?
如何在 xCode 4 中监控 iPhone 上使用的内存?
I need a tool like the Activity Monitor on previous versions of xCode. Or any other analysis tools?
我需要像以前版本的 xCode 上的活动监视器这样的工具。或者其他分析工具?
回答by AechoLiu
Product -> Profile, and then the Instruments will be waken up.
Product -> Profile,然后 Instruments 会被唤醒。
回答by Roozbeh Zabihollahi
Thanks to Toro, I am going to complete his answer for XCode 4.6:
感谢 Toro,我将完成他对 XCode 4.6 的回答:
First Enable profiler for your app
首先为您的应用启用分析器
Then Start Instruments tool
然后启动仪器工具