开发者

XCode 4 Running the Leaks Instrument

This might be a silly question.

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.

Thanks


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

XCode 4 Running the Leaks Instrument

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:

XCode 4 Running the Leaks Instrument

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


as jeff said, that is 1 way you could do it.. other way with keyboard shortcuts is press cmd + I and this runs the profiler and after that you can choose leaks...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜