• 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
Shark is losing source code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shark is losing source code


  • Subject: Shark is losing source code
  • From: kwiley <email@hidden>
  • Date: Thu, 5 Jun 2008 16:06:14 -0700

Is this the right group to post Shark questions to?

My code was built with -O -g -DNDEBUG, although note that I have the exact same problem if I build with -g alone.

I run my executable with Shark, wait for it, and get the typical Shark results. I double-click various rows in the profile view to see the associated code. Now, the weird part is that for *some* files it shows the code, but for others it only shows the assembly. If I look at the build transcript, the files in question were definitely built with -g.

This is a rather peculiar build I admit, because it is an external target that invokes make and basically doesn't use Xcode for much other than editing, but nevertheless, what's going on?

I realize this post probably isn't sufficient to solve the problem, but does anyone know how I should start working on this? I don't really have any ideas?

Thanks.

________________________________________________________________________
Keith Wiley    email@hidden   http://www.cs.unm.edu/~kwiley

"Never underestimate a computer program's ability to enter a loop that
counts to a quadrillion.  Furthermore, never underestimate a
programmer's ability to accidentally put a print out statement inside
that loop."
                                           --  Keith Wiley
________________________________________________________________________




_______________________________________________ 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 is losing source code
      • From: Rick Altherr <email@hidden>
  • Prev by Date: Re: Replacement for IB2.x outline mode?
  • Next by Date: Re: Shark is losing source code
  • Previous by thread: RE: keybindings for breakpoint and bookmark pop-ups?
  • Next by thread: Re: Shark is losing source code
  • Index(es):
    • Date
    • Thread