• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Slow debugger loading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow debugger loading


  • Subject: Re: Slow debugger loading
  • From: Steve Mills <email@hidden>
  • Date: Sat, 27 May 2006 19:04:44 -0500

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: This email sent to email@hidden
  • Follow-Ups:
    • Re: Slow debugger loading
      • From: Bruce Truax <email@hidden>
  • Prev by Date: FileMerge BugReport
  • Next by Date: Re: text editor - shift left/right
  • Previous by thread: Slow debugger loading
  • Next by thread: Re: Slow debugger loading
  • Index(es):
    • Date
    • Thread