Re: gdb can't resolve breakpoints
Re: gdb can't resolve breakpoints
- Subject: Re: gdb can't resolve breakpoints
- From: Chris Espinosa <email@hidden>
- Date: Sat, 2 Feb 2008 11:06:21 -0800
On Feb 2, 2008, at 6:21 AM, Thijs Koerselman wrote:
I've been using Xcode 3 for developing a series of plugins.
Everything always worked fine, but now one of my plugin projects
doesn't resolve the breakpoints anymore when I launch the debugger.
The plugin host and xcode are both fine, because the other projects
still work and debug as always. I've been comparing project settings
and can't find any differences. I used to work before on this one as
well. I've tried everything I can think of, incl cleaning and
trashing the build folders. It's really driving me nuts!
I get the following GDB warning when I launch it wit a breakpoint at
line 221 in my code:
Warning - No location found for "myplug.c:221"
Normally I don't get these kind of warnings. The breakpoints turn
yellow and are resolved when I load the plugin into the host. In
this case the breakpoints turn yellow and then never get resolved.
Three things to try:
- Uncheck "load symbols lazily" in Xcode > Preferences > Debugging
- Delete and re-add the breakpoint. Make sure "myplug.c" is actually
built and installed.
- Make sure that the plugin is being loaded. If you're not hitting a
breakpoint in a plugin, perhaps the plugin loading is failing.
Chris
_______________________________________________
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