• 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: Zerolink slows gdb to a crawl?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zerolink slows gdb to a crawl?


  • Subject: Re: Zerolink slows gdb to a crawl?
  • From: Chris Espinosa <email@hidden>
  • Date: Mon, 16 Jan 2006 12:25:42 -0800

On Jan 16, 2006, at 8:01 AM, Jonathan del Strother wrote:

gdb is painfully slow when debugging my project - just a simple 'Step Over' takes a couple of seconds per line. I've discovered that turning off Zerolink makes this much faster. A smaller project doesn't seem to suffer from the same problems.

My project has around 60 .ob files for zerolinking. Is there a known problem with gdb speeds & lots of .ob files? Is there anything I can try that might speed things up?

ZeroLink saves time at link time by deferring all linking and loading till runtime. With some projects this is fast and efficient, but with others it causes big slowdowns when debugging; it depends on the organization of your project.


If you spend more time loading the .ob files dynamically at debug time than you'd spend actually linking them at link time, then by all means turn off ZeroLink for this project.

Chris

_______________________________________________
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


References: 
 >Zerolink slows gdb to a crawl? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Re: "Build succeded (2 errors)"
  • Next by Date: Latex and XCode
  • Previous by thread: Zerolink slows gdb to a crawl?
  • Next by thread: Re: Zerolink slows gdb to a crawl?
  • Index(es):
    • Date
    • Thread