• 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: Shark won't show symbols for release build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shark won't show symbols for release build


  • Subject: Re: Shark won't show symbols for release build
  • From: Rick Altherr <email@hidden>
  • Date: Thu, 7 Aug 2008 21:35:42 -0700


On Aug 7, 2008, at 6:39 PM, David Dunham wrote:

I'm using Xcode 3.1 to build a mostly C++ app. I can run Shark and see application symbols for my debug build. When I try with a release build, Shark reports "Unknown Library" for everything.

I don't see any relevant differences between my two target settings. In particular, both have
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym


What would cause Shark to show symbols for one but not the other? (I can get some data by Sharking the debug build, but I really should be profiling the optimized release build. Which I'm sure I've been able to do in the past.)

David Dunham   Macintosh Game Developer
GameHouse Studios     +1 206 926 5722     www.gamehouse.com
   "They said it couldn't be done but sometimes it doesn't
    work out that way." -- Casey Stengel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.com


This email sent to email@hidden


I suspect that your Release build is stripping the final binary. Now, Xcode should be building the .dSYM before stripping. If you run gdb against your release build, does it find the symbols? Is the .dSYM located in the same folder as the binary? What version of Shark are you using?

--
Rick Altherr
Architecture and Performance Group
email@hidden


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Shark won't show symbols for release build
      • From: David Dunham <email@hidden>
References: 
 >Shark won't show symbols for release build (From: David Dunham <email@hidden>)

  • Prev by Date: Re: Funky Xcode crashing-my-app behavior
  • Next by Date: Re: debugging 'continue' -- any way to trigger a switch-application event back to the tested app
  • Previous by thread: Shark won't show symbols for release build
  • Next by thread: Re: Shark won't show symbols for release build
  • Index(es):
    • Date
    • Thread