Instruments in Xcode 4
Asked Answered
B

3

23

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?

Bigod answered 14/3, 2011 at 20:53 Comment(0)
F
52

If you want to use Instruments with your product:

Product -> Profile

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

Facial answered 14/3, 2011 at 21:1 Comment(0)
W
12

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.

Washburn answered 14/3, 2011 at 21:34 Comment(0)
R
6

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

Ronaronal answered 14/3, 2011 at 20:58 Comment(1)
"valid provision profile for this executable was not found" error occurs when I click "Profile without building". But I could run the app in the normal way without any provisioning issues. Any idea why?Decarbonize

© 2022 - 2024 — McMap. All rights reserved.