• 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: Xcode eats 100% CPU and more while typing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode eats 100% CPU and more while typing


  • Subject: Re: Xcode eats 100% CPU and more while typing
  • From: Wade Tregaskis <email@hidden>
  • Date: Tue, 13 May 2008 21:45:50 -0700

In any case, I'll definitely be filing a radar next time it happens. Problem is, it's next to impossible get a repro the problem given the number of variables (environment, SCM, project, the file itself, and whatever UI actions/history that led up to that point), so we come back to the strange fact that only certain projects seem to be affected.

In hard to reproduce cases like this, often the easiest way to get a handle on them is to have Shark sit in the background running a 'Time Profile (WTF)' against Xcode while you work, and that'll enable you to grab a session including not just the time in which Xcode is misbehaving, but also the period leading up to that - often critical in figuring out how and even what state the app has gotten itself into.


The overhead of doing this is negligible, and certainly won't impact your normal Xcode work.

For more information you can read up on Time Profiling in the Shark user manual, and specifically Windowed Time Facility (WTF).

A bug report with such a session attached is much more likely to receive attention than simply stating there's a problem. As noted, it's also likely to be more useful than a simple profile or traditional 'sample', and is easier to obtain.

Wade
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Xcode eats 100% CPU and more while typing
      • From: Wade Tregaskis <email@hidden>
References: 
 >Re: Xcode eats 100% CPU and more while typing (From: William Squires <email@hidden>)

  • Prev by Date: Re: Create NSStrings from a mapped NSData object - safe?
  • Next by Date: Re: Weird crash in sendEvent - right click vs control click
  • Previous by thread: Re: Xcode eats 100% CPU and more while typing
  • Next by thread: Re: Xcode eats 100% CPU and more while typing
  • Index(es):
    • Date
    • Thread