XCode 4 Running the Leaks Instrument
Asked Answered
S

2

21

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

Sibilla answered 14/3, 2011 at 23:37 Comment(0)
B
59

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.

Bradytelic answered 14/3, 2011 at 23:54 Comment(1)
You sir are AWESOME! That was it!Sibilla
L
15

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...

Lightyear answered 15/3, 2011 at 18:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.