Xcode freezing

I'm working on some C++ for school and a few seconds after i open a project and try to start working i get the spinning beachball and xcode stops responding completely. I tried restarting the comptuer and everything. I'm running xcode version 2.2.1 with Mac OSx 10.4.5 on a iMac G5 (iSight). Is there anything I can do to fix this?

thanks,
Justin

iMac G5 (iSight), Mac OS X (10.4.5), 512mb ram, 250gb HD,

Posted on Feb 22, 2006 12:48 PM

Reply
7 replies

Feb 22, 2006 1:34 PM in response to Roadrunner2348

Does Xcode freeze when you open one particular project or does it freeze when you try to open any project? If it freezes on one project, you most likely have a corrupted project file. Creating a new project would fix the problem.

If Xcode freezes when opening any project, the best thing to do would be to uninstall Xcode and reinstall it. There is an uninstall script in Developer > Tools called uninstall-devtools.pl. You have to run the script from the Terminal application.

Mac OS X (10.4)

Feb 28, 2006 11:05 PM in response to Roadrunner2348

I have a similar problem, but with a trivial file:

I just create a file named "a.h" with TextEdit, and it only
contains the following 2 characters:

A<

This would be the start of a template. If I click on
the file in the finder, xcode starts, the beach ball
appears and stays. Xcode is running always at 95% cpu
load and is not responding any more.
Sampling with the activity monitor reveals that xcode
is busy in [PBXSourceLexer peekToken]

Note that the problem does also appear if I create an
new *.h file within an empty project and type the
characters interactively.
I first encountered this when typing in

template<typename T> A<

(interestingly the problem only appeared at the second
less character)

After this happened in xcode 2.2 I upgraded to 2.2.1,
but the problem persists. It does not show up, if the
template is complete, like

template<typename T> A<T>& A::operator=(const A<T>& a);





PB G4 12" / mini G4 Mac OS X (10.4.5)

PB G4 12" / mini G4 Mac OS X (10.4.5)

Mar 15, 2006 8:34 AM in response to Roadrunner2348

I'm also having the same beachball problem. I also acknowledge that it happens after typing a comparison operator < such as

if(v< [crash]

Has anyone came out with a sollution for this ? Already tampered with the code sense options and nothing happens...

Strange thing : problem just started yeasterday, after installing sec. update 006-2. But since there are older threads, I don't know if it is related to it.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode freezing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.