• 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: Breakpoints not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breakpoints not working


  • Subject: Re: Breakpoints not working
  • From: James Tittle II <email@hidden>
  • Date: Wed, 31 Mar 2004 11:10:39 -0500

...sorry for dredging up old subject matter, but I've recently been bit by this problem...

On Feb 27, 2004, at 2:26 PM, Jim Ingham wrote:
On Feb 26, 2004, at 6:20 PM, James J. Merkel wrote:

I know that questions have been asked in the past about breakpoints not working in xcode -- however I still cannot get the debugger to stop at any breakpoints. I am in development mode with the option set to Generate Debug Symbols. I can see the breakpoint in the breakpoint window. Still no effect.

If you interrupt the program once it is up and running and go to the console and type:


(gdb) info break

do the breakpoints have reasonable seeming addresses. If the addresses are all 0x0, then that means we couldn't resolve the symbols. If there are addresses, but you are not hitting them, then something went wrong in setting the breakpoints? I would have to have a look at the binary to see what was going wrong in this case.

...all of a sudden, I can't get gdb to break anywhere either...I did "info break", and indeed there's nothing but 0x0 for the addresses:


(gdb) info break
Num Type           Disp Enb Address    What
1   breakpoint     keep s   0x00000000 "model_loader.cpp:705
2   breakpoint     keep s   0x00000000 "pix_filmDarwinYUV.cpp:105
3   breakpoint     keep s   0x00000000 "pix_film.cpp:122
4   breakpoint     keep s   0x00000000 "GemWinCreateMac.cpp:768
5   breakpoint     keep s   0x00000000 "GemPixImageSave.cpp:127
6   breakpoint     keep s   0x00000000 "GemPixImageSave.cpp:192
7   breakpoint     keep s   0x00000000 "pix_write.cpp:128
8   breakpoint     keep s   0x00000000 "GemWinCreateMac.cpp:186
(gdb)

...what can I do now? This is a library/bundle loaded into pure-data, built using the "classic target", because everytime I try to import it as a native build target, the name gets screwed (goes from "gem.pd_darwin" to "libgem.pd_darwina"), and there doesn't seem to be a place to rename things like this...I have the "generate debugging symbols" checked, and am using gcc3.3...what to do next?

help!
jamie
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Breakpoints not working
      • From: Jim Ingham <email@hidden>
  • Prev by Date: Trying to use MallocDebug
  • Next by Date: Re: Trying to use MallocDebug
  • Previous by thread: Re: Trying to use MallocDebug
  • Next by thread: Re: Breakpoints not working
  • Index(es):
    • Date
    • Thread