Breakpoints Movind (was: How bad is GDB and C++?)
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