Re: Xcode performance issues over time
Re: Xcode performance issues over time
- Subject: Re: Xcode performance issues over time
- From: Jack Nutting <email@hidden>
- Date: Mon, 15 Feb 2010 07:58:45 +0100
On Sat, Feb 13, 2010 at 5:00 AM, John Engelhart
<email@hidden> wrote:
> There's really nothing more annoying than making changes to your source to
> see if it fixes the problem, still seeing the problem, and wasting a lot of
> time trying other things until you realize that a debug statement that can't
> possibly be executing because it's commented out but is STILL printing. And
> once you notice it, you make a trivial change to 'touch' the file, rebuild,
> and notice that the build system isn't compiling your changed file, even
> though "lots of stuff" seemed to happen. It's completely random and comes
> and goes, but "seems" to get worse the longer Xcode runs.
FWIW, I encountered something very similar to this just a few days
ago, but this time I actually found the cause of the problem. I had
just copied an entire project directory to another spot on disk, and
opened up the new copy of the Xcode project. I made a simple change
(a compiler #define in the app delegate to change which server
environment the app should use), hit Build & Run, and found that the
app was hitting the wrong server. I began doing the dance of
inserting #warning lines in all relevant sections to see what was
being compiled etc, but nothing was showing up in the build log.
Eventually I somehow realized that what I was editing in Xcode, the
file that had come up in the editor immediately when I opened the
project, was in fact the app delegate from the OLD project location,
which was of course not being recompiled with the new Xcode project
open. I'm not sure this counts as a bug, but it was certainly
unexpected, and makes me wonder if some of the problems I've
occasionally had with Xcode over the years perhaps have similar
explanations.
--
// jack
// http://www.nuthole.com
_______________________________________________
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