views:

98

answers:

3

Hi,

I'm debugging a project for iOS 4.0 (simulator) in XCode 3.2.3, and all of a sudden the debugger just stopped working on me. It will hit the first breakpoint and freeze. It will not respond to single stepping, continuing, pausing, etc.

I know I'm not the first person to complain about the XCode debugger, so does anyone have any sort of clue as to why this happens, or any sort of workaround? It has completely prevented me from getting anything done.

Thanks!

-Matt

A: 

I'm new to stackoverflow and cannot yet comment on questions or I would put this in a comment, but I too have this problem regularly and would love to see it answered.

Matthew McCroskey
A: 

Hi Im also having this problem. It appears to be happening randomly to me but i cant debug any code until it is solved. It is frustrating. I have checked many forums and some said about making sure that the target project is in sync with the base sdk and to set them both to the simulator which i did but didnt help at all. Im losing the will to live with this now so some all knowing god please advise on how to solve please. the code where i have the breakpoint on is CGSize winSize = [[CCDirector sharedDirector] winSize]; one of the most basic lines there is just to see if i can step past it but nothing. just to clarify the code runs fine without breakpoints in it at all

A: 

I found that switching to build active target only and using llvm 1.5 worked for me. Even if llvm 1.5 can't be used for your final code, it can get you around this extremely frustrating problem.