• 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: XCode 1.5 not showing source listing in debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 1.5 not showing source listing in debugger


  • Subject: Re: XCode 1.5 not showing source listing in debugger
  • From: Brad Oliver <email@hidden>
  • Date: Wed, 11 Aug 2004 17:15:40 -0700

On Aug 11, 2004, at 3:25 PM, Jim Ingham wrote:

You have to also make sure that whatever product you are building here is not getting stripped somewhere down the line. There is a setting in the UI (Produce Unstripped Product) that controls this.

I have a solution of sorts to my problems.

It seems the culprit is dead-code stripping. With that on, I was losing a lot of source info. I noticed in the project settings that dead-code stripping requires -g-full, so I make that option explicit. Crazy that XCode doesn't adjust itself to -g-full when dead-code stripping is on for you, but at least now I know.

Even so, that didn't work. When I ran my app with -g-full and dead-code stripping on, gdb fired an assertion, indicated that future debugging "may not work reliably" and then promptly quit.

After that, I disabled dead-code stripping altogether and bit the bullet, resolving all the stranded code problems by hand. After rebuilding this time, I once again had full source in the debugger.

So it seems to me that at this point, dead-code stripping is probably to be avoided for debug/development build styles.

--
Brad Oliver
email@hidden
_______________________________________________
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: XCode 1.5 not showing source listing in debugger
      • From: Jim Ingham <email@hidden>
References: 
 >XCode 1.5 not showing source listing in debugger (From: Brad Oliver <email@hidden>)
 >Re: XCode 1.5 not showing source listing in debugger (From: Jim Ingham <email@hidden>)
 >Re: XCode 1.5 not showing source listing in debugger (From: Brad Oliver <email@hidden>)
 >Re: XCode 1.5 not showing source listing in debugger (From: Jim Ingham <email@hidden>)
 >Re: XCode 1.5 not showing source listing in debugger (From: Brad Oliver <email@hidden>)
 >Re: XCode 1.5 not showing source listing in debugger (From: Jim Ingham <email@hidden>)

  • Prev by Date: Re: external editors and breakpoints
  • Next by Date: [Solved] Re: Building a class hierarchy in Xcode
  • Previous by thread: Re: XCode 1.5 not showing source listing in debugger
  • Next by thread: Re: XCode 1.5 not showing source listing in debugger
  • Index(es):
    • Date
    • Thread