Re: Profiling Scheme and Unit test in XCode 4
Re: Profiling Scheme and Unit test in XCode 4
- Subject: Re: Profiling Scheme and Unit test in XCode 4
- From: Tony Romano <email@hidden>
- Date: Tue, 21 Jun 2011 19:23:06 -0700
- Thread-topic: Profiling Scheme and Unit test in XCode 4
I'm assuming Xcode 4 uses the term profiling to mean run instruments, either Allocations, Leaks, .etc. I understand you typically want to profile a release version for timing performance, but I often do the others types of 'profiling' during the debug phase.
Basically I want to look at memory pressure generated by my static lib.
From: Chris Hanson < email@hidden> Date: Tue, 21 Jun 2011 15:43:43 -0700 To: Tony Romano < email@hidden> Cc: Xcode-users List < email@hidden> Subject: Re: Profiling Scheme and Unit test in XCode 4
On Jun 21, 2011, at 10:28 AM, Tony Romano wrote: I have a static lib and a unit test, there is no application. Apparently, you cannot profile this because there isn't an "executable" according to the Scheme editor. Not having to do a dummy executable was is a nice feature of Xcode 4.
Anyone know how to enable the profiling scheme to run without adding a dummy application?
You need some executable — whether an application or tool — to actually run in order to profile.
Are you asking about profiling your unit tests? In general you probably won't want to do that, as typically your tests will be set up to build your Debug configuration while profiling is done against your Release configuration.
-- Chris
|
_______________________________________________
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