Re: xcode code-indexing intermittent hangs
Re: xcode code-indexing intermittent hangs
- Subject: Re: xcode code-indexing intermittent hangs
- From: Andrew Pontious <email@hidden>
- Date: Wed, 13 May 2009 14:58:08 -0700
On May 12, 2009, at 12:46 PM, Dan Herman wrote: On May 10, 2009, at 11:10 PM, Dan Herman wrote: On May 9, 2009, at 6:17 PM, Andrew Pontious wrote:
Do your source code or header files use import or include statements like this?
#import <net/Something.h>
If so, this is a known Xcode bug -- Xcode is erroneously statting the /net directory on your machine, which then waits on network traffic.
This bug is fixed in the next version of Xcode.
Interesting... so I do have two such lines:
#include <net/if_dl.h>
#include <net/if_types.h>
but they've been there forever and this is a new problem... and it appears it is happening even when the file that contains those isn't affected by an edit. But I'll try removing those tomorrow and let you know what I find.
Full prize points go to Andrew. Commenting out those two lines prevents the hangs, as does disabling the ethernet port. Thanks! For bonus points: is there any workaround other than leaving my machine off the network?
I don't believe the workaround in the link in my previous email involves leaving your machine off the network. Instead, it involves "removing /net from the auto_master file". I won't pretend to know what that means exactly, but it's worth a shot.
Here's the link again:
-- Andrew |
_______________________________________________
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