XCode 4运行泄漏仪器 [英] XCode 4 Running the Leaks Instrument

查看:80
本文介绍了XCode 4运行泄漏仪器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是一个愚蠢的问题.

This might be a silly question.

如何使用XCode 4中的仪器(如Leaks)运行应用程序?

How do I run an application with an Instrument in XCode 4 such as Leaks?

我没有看到像过去那样的选项,而是环顾四周,或者我在某个地方错过了它,或者它就在我的面前.

I do not see the option like I have in the past, and I have looked around, and either I missed it somewhere, or it is right in front of my face.

谢谢

推荐答案

单击并按住运行按钮,然后选择配置文件选项.

Click and hold on the run button, and choose the profile option.

您还可以编辑概要文件方案,以使其在概要分析时使用调试版本.为此,请点击停止"按钮旁边的下拉菜单,进入编辑方案:

You can also edit the profile scheme to make it use debug builds when profiling. To do this, go to edit scheme by click on the dropdown next to the stop button:

然后在侧边栏中选择配置文件项目,然后确保将构建配置"设置为调试.

Then select profile item on the sidebar, then make sure 'Build configuration' is set to debug.

这篇关于XCode 4运行泄漏仪器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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