• 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: gdb can't resolve breakpoints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: gdb can't resolve breakpoints
      • From: "Thijs Koerselman" <email@hidden>
References: 
 >gdb can't resolve breakpoints (From: "Thijs Koerselman" <email@hidden>)

  • Prev by Date: Re: gdb can't resolve breakpoints
  • Next by Date: Re: gdb can't resolve breakpoints
  • Previous by thread: Re: gdb can't resolve breakpoints
  • Next by thread: Re: gdb can't resolve breakpoints
  • Index(es):
    • Date
    • Thread