Instruments in Xcode 4

一笑奈何 提交于 2019-11-27 02:33:53

问题


I was trying to open instruments in xcode 4 but was not able to find a way to do it. Usually in Xcode 3, we would do run -> run with performance tool... but I dont really find any such thing to do it in xcode 4.. would anyone be able to tell me how to do this?


回答1:


If you want to use Instruments with your product:

Product -> Profile

This brings up a dialog where you can choose Leaks, Allocations, etc.




回答2:


Cmd-I also works to invoke Profile.

By default Profile is set up to use the Release build. If you want it to use Debug then pull down the platform dropdown, select "Edit Scheme", go to the "Profile" side-tab, and tell it to use Debug instead of Release.




回答3:


Product -> Perform Action -> Profile Without Building This should spawn a dialog to choose the good old known Instrument's templates from.



来源:https://stackoverflow.com/questions/5304390/instruments-in-xcode-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!