• 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
Inline functions get debugger confused about source files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inline functions get debugger confused about source files


  • Subject: Inline functions get debugger confused about source files
  • From: Dave Camp <email@hidden>
  • Date: Tue, 17 Jul 2007 15:36:01 -0700

I'm having the same problems referenced here <http://lists.apple.com/ archives/xcode-users/2005/Jul/msg00178.html> and here <http:// lists.apple.com/archives/xcode-users/2006/Jan/msg01147.html> where the linker strips off too much debugger information and gdb displays a header file instead of the source I want to debug.

This bug is making it virtually impossible to debug a Windows application I'm porting. The suggestion of -fno-inline does not seem to help.

Are there any known workarounds for this on Tiger?

I have noticed that when I hit the problem on Tiger, the same code on Leopard is debuggable (gdb shows the correct source). Am I just getting lucky or is the bug fixed in a newer version of the linker? I am not opposed to switching to the seed release if thats the only way I can debug my code. :-)

Thanks,
Dave
_______________________________________________
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: Inline functions get debugger confused about source files
      • From: "Michael Crawford" <email@hidden>
    • Re: Inline functions get debugger confused about source files
      • From: Jason Molenda <email@hidden>
  • Prev by Date: Re: conditional if..else
  • Next by Date: The ol' "No Editor" error
  • Previous by thread: Re: conditional if..else
  • Next by thread: Re: Inline functions get debugger confused about source files
  • Index(es):
    • Date
    • Thread