Re: Yellow break points in XCode
Re: Yellow break points in XCode
- Subject: Re: Yellow break points in XCode
- From: Jim Ingham <email@hidden>
- Date: Tue, 2 Dec 2008 17:03:41 -0800
"Load Symbols Lazily" works when Xcode can tell into what build
product the source file you are clicking to set your breakpoint in
will go. Ouch, that was an awkward sentence - but I think
grammatical...
Sometimes the way the project gets set up can fool us, however. In
that case, you need to turn the "lazy symbol loading" off. For
instance if you build with a Makefile and are just using the Xcode
project for convenience, we have no idea where the source files go,
and in that case you will have to disable the lazy symbol loading
optimization. But if it is not something obvious like this, we would
like to have a look at your project to see why we didn't track this
correctly.
So if you can give us your project, or some simpler one similarly
constructed that also shows the symptoms you are seeing, that would be
great. Even if you can't do that, file a bug and include the Xcode/
gdb log in the bug. To generate that, turn on logging in the
Debugging tab of the Xcode Preferences, and rerun your debugging
session.
Thanks,
Jim
On Dec 2, 2008, at 11:03 AM, Peter Ogilvie wrote:
Thank you so much! I spent two days trying to figure out how to get
the debugger to work after downloading the iphone developer kit and
joined this list for help on this problem! I hope a bug is filed on
this problem.
On Mon, Dec 1, 2008 at 11:49 PM, David Geldreich <email@hidden
> wrote:
Hello Dianel,
Le 2 déc. 08 à 02:17, Daniel Wambold a écrit :
I have intermittently had trouble with adding debugger break points
to my ObjC code in XCode. Sometimes, the breakpoints turn yellow and
the debugger will not stop at them. I cannot discern a pattern to
this behavior. What is happening? It's DEFINITELY not something I'm
telling XCode to do; It seem to occur without any provocation such
as choosing menu items. Quitting and restarting XCode does not fix
the problem, but sometimes pausing the execution, turning off then
turning on break points allows the debugger to work normally. Thanks
in advance for your help. I'm sure it's something simple, but I'm
totally stumped.
That's something I also encountered; the solution I found is to NOT
"load symbols lazily".
In Xcode Preferences | Debugging | Symbol Loading Options | uncheck
Load symbols lazily
In other cases, when Xcode show strange behaviour (showing a stopped
app as running, not stepping on objc_msgSend, ...), I delete :
- the whole build directory : rm -rf build
- myproject.xcodeproj/login.perspectivev3 and myproject.xcodeproj/
login.pbxuser
[warning, you will loose your breakpoints, windows layout, ...]
And in most of the cases, Xcode goes back to normal behaviour.
Hope this will work for you.
David _______________________________________________
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
_______________________________________________
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
_______________________________________________
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