• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sampler problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sampler problem


  • Subject: Re: Sampler problem
  • From: Christopher Hunt <email@hidden>
  • Date: Wed, 8 Sep 2004 08:35:29 +1000

Hi Dave,

Thanks for responding. I'm not using dead code stripping or zerolink.

I'll look at Shark and feedback my findings.

Cheers,
-C

On 08/09/2004, at 3:36 AM, Dave Payne wrote:

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.


  • Follow-Ups:
    • Re: Sampler problem
      • From: Christopher Hunt <email@hidden>
References: 
 >Re: Sampler problem (From: Dave Payne <email@hidden>)

  • Prev by Date: Re: Sampler problem
  • Next by Date: Re: Sampler problem
  • Previous by thread: Re: Sampler problem
  • Next by thread: Re: Sampler problem
  • Index(es):
    • Date
    • Thread