• 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
Breakpoints Movind (was: How bad is GDB and C++?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Breakpoints Movind (was: How bad is GDB and C++?)


  • Subject: Breakpoints Movind (was: How bad is GDB and C++?)
  • From: Steve Sisak <email@hidden>
  • Date: Mon, 8 Nov 2004 09:33:08 -0500

At 11:08 AM +0100 11/7/04, bernard tatin wrote:
David Dunham wrote:
My latest annoyance is that my breakpoints seem to be moving by a line or two. I suspect I could fix this by doing a clean, but then I'd have to recompile (did I mention that CodeWarrior is faster?).

Be sure that 'Optimization level' is 'None [-O0]' and 'Level of Debug Symbols' 'All symbols [-g-full]'. By default, you have 'Fatest, smallest [-Os]', and 'Default [-g]'. With my settings a lot of things are better - but not all.

Actually optimization is not the issue -- this happens to me 4 or 5 times a day during development, you can fix the problem by quitting and relaunching Xcode.


A clean build won't help unless you quit -- my guess is that Xcode is overly aggressive about caching and gets confused -- possibly by either a failed build or by editing source during a build.

In any case, quitting and relaunching Xcode solves the problem (although any breakpoints you added during the confusion will be in the wrong place).

HTH,

-Steve
_______________________________________________
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: 
 >re: How bad is GDB and C++? (was: GDB and c++ template class) (From: David Dunham <email@hidden>)
 >Re: How bad is GDB and C++? (From: bernard tatin <email@hidden>)

  • Prev by Date: Fix and Continue stopped working
  • Next by Date: app resources (repost)
  • Previous by thread: Re: How bad is GDB and C++?
  • Next by thread: app resources
  • Index(es):
    • Date
    • Thread