• 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 2.2 and save thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.2 and save thread


  • Subject: Re: Xcode 2.2 and save thread
  • From: David Ewing <email@hidden>
  • Date: Tue, 6 Dec 2005 11:31:32 -0700


On Dec 6, 2005, at 4:57 AM, Stefan Werner wrote:

I noticed that Xcode 2.2 gained its speed at saving files (compared to 2.1) by offloading the saving to a separate thread. A look with top reveals that this saving thread can easily take several seconds (PBG4 1.5GHz here). Now, while I appreciate the speed, it turns out that it has other impacts: Every now and then, I've the case that the background task for saving the file would take so long that in a command-S command-B sequence, the compiler would still see the previous version of the file and not the one that Xcode was still busy saving. This has left me with quite some head-scratching, when I saw the compiler report errors and warning in places where the editor clearly showed that there was nothing wrong.

Xcode doesn't, and never has, used a separate thread to save files. Xcode 2.1 had a bug in it that caused the file to get re-laid out whenever it saved. That fix for that is where the speed improvement came in Xcode 2.2.


If you're seeing a problem where an where the wrong version of a file is being built, then we really want to hear more details. And the best place for that is <http://developer.apple.com/bugreporter>. From your description, it seems most likely that this is related to "Predictive Compilation". You can try turning that off (in the "Build" preferences) to see if that helps, but please do file a bug.

Dave


_______________________________________________ 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
References: 
 >Xcode 2.2 and save thread (From: Stefan Werner <email@hidden>)

  • Prev by Date: Center Window in IB
  • Next by Date: Re: Xcode 2.2 and save thread
  • Previous by thread: Re: Xcode 2.2 and save thread
  • Next by thread: Re: Xcode 2.2 and save thread
  • Index(es):
    • Date
    • Thread