Re: Shark won't show symbols for release build
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: Fri, 8 Aug 2008 11:59:09 -0700
On Aug 8, 2008, at 11:53 AM, David Dunham wrote:
On 7 Aug 2008, at 21:35, Rick Altherr wrote:
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?
Oddly, the transcript has
setenv STRIP_INSTALLED_PRODUCT YES
setenv STRIP_STYLE all
but the target settings show "Strip Linked Product" as unchecked for
all configurations. (I've never understood what "deployment
postprocessing" is, as per the Research Assistant, but if it's off
that shouldn't matter.)
I debugged from Xcode, and at my breakpoint, symbols seem fine (and
I can do a "bt" from the console).
The .dSYM is built next to the .app.
Shark 4.60 is what Start With Performance Tool launches.
Hopefully this isn't because the app name includes the beta symbol
(and a curved apostrophe). The Shark window is titled "Session 1 -
Time Profile of" ...
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
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
Sadly, the non-ASCII characters could be part of the problem. I
recently fixed a few bugs in our symbol lookup library where it
assumed ASCII. If you turn off stripping for your release build,
Shark should show symbols, but if the non-ASCII characters are the
problem, it won't find source information. You could try temporarily
renaming the product. It's a big hassle, but it should work around
the issues that I found.
--
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