Re: Setting Breakpoints in XCode - Comically slow
Re: Setting Breakpoints in XCode - Comically slow
- Subject: Re: Setting Breakpoints in XCode - Comically slow
- From: Adam Hall <email@hidden>
- Date: Sat, 29 Sep 2007 11:21:35 -0400
Thanks Scott, I did have predictive compilation on, and have now
turned it off. Hopefully doing that will at least allow me to keep
working without this nonsense occuring every few hours, although my
weirdness seems to be happening when I try to use the debugger :-)
After posting my initial problem XCode ended up locking up when I
started a debug session. I got a backtrace from gdb which is shown
below, I noticed some other posts about hangs in objc_msgSend_rtp
when using XCode and when you have not rebooted your system in a
while (my uptime was 8 days). After rebooting, breakpoints were
setting again at a "normal" speed. This seems like a bug to me and I
am to understand that objc_msgSend_rtp was introduced in Tiger. I
will send my findings to Apple.
#0 0xfffeff18 in objc_msgSend_rtp ()
#1 0x95833bb8 in -[PBXFileReference resolvedAbsolutePath] ()
#2 0x9584e768 in -[PBXContainer fileReferenceForPath:] ()
#3 0x9593a52c in -[PBXProject relativeFileReferenceForPath:] ()
#4 0x9586251c in -[PBXProject breakpointsForFileReference:] ()
#5 0x991590ec in -[PBXSourceFileDocument _breakpointsForProject:] ()
#6 0x99158c68 in -[PBXSourceFileEditor _computeBreakpointMarkers] ()
#7 0x991659f4 in -[PBXSourceFileEditor _projectItemsDidChange:] ()
#8 0x92be0ae4 in _nsnote_callback ()
#9 0x90805078 in __CFXNotificationPost ()
#10 0x907fd114 in _CFXNotificationPostNotification ()
#11 0x92bcaeec in -[NSNotificationCenter
postNotificationName:object:userInfo:] ()
#12 0x95868c48 in -[PBXProject _processEndOfEvent] ()
#13 0x92c63aa0 in __NSFirePerformTimer ()
#14 0x907dd76c in __CFRunLoopDoObservers ()
#15 0x907dda0c in __CFRunLoopRun ()
#16 0x907dd4ac in CFRunLoopRunSpecific ()
#17 0x93298b20 in RunCurrentEventLoopInMode ()
#18 0x9329812c in ReceiveNextEventCommon ()
#19 0x93298020 in BlockUntilNextEventMatchingListInMode ()
#20 0x9379eae4 in _DPSNextEvent ()
#21 0x9379e7a8 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#22 0x9379acec in -[NSApplication run] ()
#23 0x9388b87c in NSApplicationMain ()
#24 0x00009b08 in ?? ()
#25 0x0000980c in ?? ()
Also, XCode did hang again after about an hour or so after the reboot
(while starting debug again). The back trace below shows the second
hang although this time in nsnoteinfo_equal_obs, if that happens
again I will report this as well to Apple:
#0 0x92be2760 in _nsnoteinfo_equal_obs ()
#1 0x90807f0c in __CFXNotificationUnregisterTable ()
#2 0x90807c04 in _CFXNotificationUnregister ()
#3 0x92be2744 in -[NSNotificationCenter removeObserver:name:object:] ()
#4 0x99165c2c in -[XCProjectBasedSelection dealloc] ()
#5 0x99165bd0 in -[XCProjectItemSelection dealloc] ()
#6 0x92bbd908 in NSPopAutoreleasePool ()
#7 0x92beeab0 in __NSFireMainThreadPerform ()
#8 0x9080eae0 in __CFRunLoopPerformPerform ()
#9 0x907de4fc in __CFRunLoopDoSources0 ()
#10 0x907dda2c in __CFRunLoopRun ()
#11 0x907dd4ac in CFRunLoopRunSpecific ()
#12 0x93298b20 in RunCurrentEventLoopInMode ()
#13 0x932981b4 in ReceiveNextEventCommon ()
#14 0x93298020 in BlockUntilNextEventMatchingListInMode ()
#15 0x9379eae4 in _DPSNextEvent ()
#16 0x9379e7a8 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#17 0x9379acec in -[NSApplication run] ()
#18 0x9388b87c in NSApplicationMain ()
#19 0x00009b08 in ?? ()
#20 0x0000980c in ?? ()
On Sep 29, 2007, at 10:52 AM, Scott Ribe wrote:
If you haven't already, try turning off predictive compilation.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden