Re: Can't see source code in Shark
Re: Can't see source code in Shark
- Subject: Re: Can't see source code in Shark
- From: Rick Altherr <email@hidden>
- Date: Fri, 20 Apr 2007 08:49:45 -0700
That should work. Could you send me the resulting binary so I can
see what is happening? There can be a number of things that prevent
this from working. Sadly, none of them are easy to detect.
--
Rick Altherr
Architecture and Performance Group
email@hidden
On Apr 20, 2007, at 3:32 AM, Jerry wrote:
When profiling with Shark on my Intel Mac, I never get to see the
source code of my application. The "Source Code" button is greyed
out. This works fine on a PPC machine.
I've looked back over the archives and seen that many other people
have had this problem, but I didn't see any solutions. I've checked
that I'm compiling with debug symbols on, stripping off. I've tried
using DWARF and STABS debug symbols. I've tried adding a Shark
search path to point to the folder containing source files.
I'm on a MacBook Pro with OS X 10.4.9, Shark 4.4.4. The same
project on a G5 and Shark 4.3.3 shows source code just fine (4.3.3
had the same problem on the MacBook before I updated to 4.4.4 in an
attempt to solve the problem).
Here's the relevant compiler flags:
/usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -Wno-trigraphs -fpascal-
strings -fasm-blocks -O0 -Wreturn-type -Wformat -Wmissing-braces -
Wunused-function -Wunused-label -DDEBUG=1 -fmessage-length=0 -ftree-
vectorize -mmacosx-version-min=10.3 -gdwarf-2
Any ideas?
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
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