Re: Sampler problem
Re: Sampler problem
- Subject: Re: Sampler problem
- From: Dave Payne <email@hidden>
- Date: Tue, 7 Sep 2004 10:36:29 -0700
On Sep 6, 2004, at 10:01 PM, email@hidden wrote:
From: Christopher Hunt <email@hidden>
Subject: Sampler problem
Date: Tue, 7 Sep 2004 09:45:57 +1000
To: email@hidden
Hi there,
I'm having a problem with the Sampler tool of Xcode 1.5. I can attach
and profile various applications but not mine... when I try mine I
getting the spinning wheel in my app. My run log states:
ERROR: unable to compute major/minor units
and at other times:
*** -[NSCFSet addObject:]: attempt to insert nil
I can successfully create a new Cocoa application in Xcode, build and
attach to it via Sampler - just not my existing app.
Any ideas out there? I used to be able to profile my app using
Sampler... I desperately miss being able to use Sampler...
Christopher, are you using dead code stripping on your application?
There's currently a problem with some incorrect debugging information
in binaries built with dead code stripping that causes the "***
-[NSCFSet addObject:]: attempt to insert nil" exception in Sampler and
other related performance tools (e.g., 'leaks', 'heap').
By the way, that bug is fixed (worked around) in the latest beta
version of the Shark 4.0 profiler, which I believe can be downloaded
from
ftp://ftp.apple.com/developer/Tool_Chest/Testing_-_Debugging/
Performance_tools/ and which you can use on 10.3.x. A lot of work has
been put into Shark, including incorporating all the features of
Sampler, as well as making it more powerful and improving the
usability. In the future we'll be recommending using Shark instead of
Sampler, so we're interested in feedback from Sampler users, at
email@hidden.
- Dave
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.