• 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
Can't see source code in Shark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't see source code in Shark


  • Subject: Can't see source code in Shark
  • From: Jerry <email@hidden>
  • Date: Fri, 20 Apr 2007 11:32:20 +0100

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Can't see source code in Shark
      • From: Rick Altherr <email@hidden>
    • Re: Can't see source code in Shark
      • From: Fred Leboucher <email@hidden>
  • Prev by Date: Re: CFBundleGetFunctionPointerForName
  • Next by Date: Re: Can't see source code in Shark
  • Previous by thread: Re: Can never debug Release Build Configuration
  • Next by thread: Re: Can't see source code in Shark
  • Index(es):
    • Date
    • Thread