Re: Instruments shows Mac targets instead of iOS targets. Why?
Re: Instruments shows Mac targets instead of iOS targets. Why?
- Subject: Re: Instruments shows Mac targets instead of iOS targets. Why?
- From: Fritz Anderson <email@hidden>
- Date: Thu, 15 Mar 2012 17:09:54 -0500
On 15 Mar 2012, at 4:14 PM, G S wrote:
> On Wed, Mar 14, 2012 at 11:33 PM, Alex Zavatone <email@hidden> wrote:
>> If the app is running the simulator, then if you targeted the simulator, isn't that OK?
> Showing Mac OS applications that are installed on the computer, instead of showing apps in the simulator? No, that's most certainly not OK.
>
> As it stands, Instruments is totally worthless for iOS.
"Totally worthless" seems to be an… exaggeration.
Obviously, attaching to the iOS Simulator is not what you want to do. You're not profiling the simulator itself, but the iOS app you're working on, which is a different process.
Do I understand correctly that this is what you're doing? You're using the Run command to start the app in the simulator, thus attaching the debugger to it. Then you're running Instruments and expecting to attach that to the app on top of the debugger. I can see how that might not work.
One thing that did work for me (at least superficially, I only just found it) was to run with breakpoints off (thus taking the debugger out of the picture), and then looking for the iOS app in the _System_ process list.
Also, the Profile action, which launches the app into Instruments, works beautifully, and has the advantage of not missing everything before you attach.
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden