Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow debugger loading



On May 27, 2006, at 08:12:39, Bruce Truax wrote:

I have a project with a 50 source files and a few thousand lines of code.
When I want to debug the project it takes about 25 seconds for the
executable to launch. I have a 1.5GHz Powerbook G4 with 1.5 GB ram.


This slow loading has been a problem for some time. There was a time after
the release of Xcode 2.0 when it was fast but then for some reason it slowed
down. I currently have MallocStackLogging defined but there was no
difference whether it was on or off. This delay is quite annoying when I am
in a debug cycle.


The strange part is that the CPU is not at 100% during this wait but there
is a large burst of disk activity at about 17MB/sec for about 10 seconds.
If I run Shark there is a lot of time spent in NSTableView drawRecta and 14%
of the time is spent in objc_msgSend_rtp.


Can anyone tell me if this is normal or if perhaps I have something setup
incorrectly?

You didn't mention if you have ZeroLink on or off. What I see every day is that if ZeroLink is on, it takes maybe 30-45 seconds from the time I hit Debug until the time I see our splash screen. Then, when our app starts to load its scripts, it takes more than a minute to load/link/bind with the frameworks or whatever.


On the other hand, if I have ZeroLink off, then linking takes roughly the same amount of time that the above, but I don't see the 1-minute delay for it to link with the frameworks.

Both are equally annoyingly slow, especially when a usual day's work requires this to happen 20 times or more (actually, I've never really counted).

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.