Re: Slow breakpoints [was: No longer use NSLog() in Xcode 4?]
Re: Slow breakpoints [was: No longer use NSLog() in Xcode 4?]
- Subject: Re: Slow breakpoints [was: No longer use NSLog() in Xcode 4?]
- From: Jens Alfke <email@hidden>
- Date: Thu, 15 Sep 2011 10:11:03 -0700
On Sep 15, 2011, at 10:03 AM, David Duncan wrote: If I understand correctly, they are associated with breakpoints (and I don't understand why it would take you 10s of seconds to turn them on, but that would probably make a worthy bug report).
GDB can be _very_ slow to load symbols in large C++-based projects. For example, the Chrome Xcode project takes about a minute to start up with breakpoints enabled, even on a quad-core machine with gobs of RAM (gdb is CPU-bound on a single thread.)
This is largely C++’s fault for generating insane numbers of internal symbols for inline functions and templates. It’s one reason I tend to avoid C++ when possible.
—Jens |
_______________________________________________
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