Try Run - Variables View - Enable Data Formatters - OFF,
see if the problem goes away.
To look at any data formatters you might have defined
individually, look in:
~/Library/Application Support/Apple/Developer
Tools/CustomDataViews/CustomDataViews.plist
I have found that referencing $VAR more than once from the
same data formatter causes this kind of problem, but there seem to be other,
ill-defined causes as well :( gdb and Xcode is not the most stable
combination I have ever encountered.
HTH - Paul Sanders.
----- Original Message -----
Sent: Wednesday, November 04, 2009 5:58 PM
Subject: Xcode takes >30s to stop at a breakpoint
I am
using Xcode 3.1.3 on Mac OS X 10.5.8 with a project which is primarily written
in C++ (parts are in C, ObjectiveC, and ObjC++).
I usually run my
application in the debugger.
Lately, Ive been having a problem where
Xcode becomes unresponsive for thirty or more seconds, usually when it want to
stop at a breakpoint. This is on a MacPro 4-core 2.66GHz. In Activity Monitor, I
see that three cores are idle, and one core is at 100%. This also often happens
when I quit the application.
Ill willingly log a bug about this, but Im
asking here what information I can gather to go with the bug report. I have
taken samples from Activity Monitor during the hang, but is there anything else
I can do? The samples dont tell me much it looks like it is spending quite a
while laying out text. I cant post the sample to the list, it is too
large.
Also, has anyone else seen such an effect and found a workaround?
Ive tried a clean build, that didnt help.
thanks in advance for any
insights,
Stuart
|