Re: Zerolink slows gdb to a crawl?
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