• 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 breakpoints [was: No longer use NSLog() in Xcode 4?]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Slow breakpoints [was: No longer use NSLog() in Xcode 4?]
      • From: Lee Ann Rucker <email@hidden>
References: 
 >No longer use NSLog() in Xcode 4? (From: Jerry Krinock <email@hidden>)
 >Re: No longer use NSLog() in Xcode 4? (From: David Duncan <email@hidden>)

  • Prev by Date: Re: No longer use NSLog() in Xcode 4?
  • Next by Date: Re: Opening docs always produces a warning
  • Previous by thread: Re: No longer use NSLog() in Xcode 4?
  • Next by thread: Re: Slow breakpoints [was: No longer use NSLog() in Xcode 4?]
  • Index(es):
    • Date
    • Thread