• 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: No symbols in DSYM file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No symbols in DSYM file?


  • Subject: Re: No symbols in DSYM file?
  • From: Antonio Nunes <email@hidden>
  • Date: Fri, 15 Feb 2008 21:23:24 +0100

On Feb 15, 2008, at 8:17 PM, Rick Altherr wrote:

Don't do that. Use the Xcode build options for stripping the binary.

Ok. I had trouble in the past (before Xcode 3.0) getting a product properly stripped without passing the -s option to the other linker flags, but then I wasn't using DWARF either. So I now set the "Strip debug symbols during copy" and the "Strip linked product" options and it seems to work well and a proper DSYM file is produced.


Even after you fix the above, you won't call atos this way. You'll want to put the .dSYM in the same directory as the bundle it goes with. Then, run atos on the app's main binary. atos will locate the dSYM and do the right thing. Also note that atos in Leopard doesn't retrieve symbol names from dSYMs, only the source line information. gdb does both. This will be fixed in a future release.

Aha. Now I called it like this:
atos -o /Applications/MyApp.app/Contents/MacOS/MyApp -arch ppc 0x00039584


... and got the result I was after (class, method name, source file name and line number).

Many thanks Rick,
António

----------------------------------------------------
It is better to light a candle than to curse the darkness
----------------------------------------------------



_______________________________________________
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: No symbols in DSYM file?
      • From: Antonio Nunes <email@hidden>
References: 
 >No symbols in DSYM file? (From: Antonio Nunes <email@hidden>)
 >Re: No symbols in DSYM file? (From: Rick Altherr <email@hidden>)

  • Prev by Date: Re: Losing locals in debugger
  • Next by Date: Xcode 3: what is open in separate editor supposed to do?
  • Previous by thread: Re: No symbols in DSYM file?
  • Next by thread: Re: No symbols in DSYM file?
  • Index(es):
    • Date
    • Thread