XCode 4 Running the Leaks Instrument

前端 未结 2 1763
无人及你
无人及你 2020-12-24 14:52

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

2条回答
  •  孤城傲影
    2020-12-24 15:21

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

    Profile

    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:

    edit scheme location

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

提交回复
热议问题