• 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 + xcode + C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shark + xcode + C++


  • Subject: Re: Shark + xcode + C++
  • From: Alejandro Aragon <email@hidden>
  • Date: Thu, 12 Mar 2009 22:34:38 -0500

Well, if you see the first post, I use an external build system. So basically I don't have a debug code. I'm compiling my code with all optimizations -O3, and with debug symbols (-g). So I guess what you suggested is out of question here. Any other ideas?

aa

On Mar 12, 2009, at 9:19 PM, Stephen Northcott wrote:

If this is happening just after you click the final window to launch the project.. more than likely you have some kind of crash / conflict in your code which is being tolerated in Debug mode.

I would be willing to bet that you won't get a Release build to run either in your projects current state.
It may be worth testing that and getting the crash log to see where exactly the problem is occurring..


I have had this problem when I have some threading issues in a multi- threaded app before where I had some race condition that was not happening with Debug builds, but was happening with Release builds, and also apparently with Shark.

On Mar 13, 2009, at 4:03 AM, Alejandro Aragon wrote:

Hello everyone,

I write code in C++. I was able to import successfully my autotools project as an external build system project. After that I added an executable and it works just fine when I click on Build and Go. Then, I try to use Shark so I go to Run -> Start with Performance Tool -> Shark. This opens Shark and everything seems just fine. However, when I run the executable, Shark stops taking samples immediately, and no information about the program is obtained.

Does anyone know why this is happening? Thanks for your comments.

aa
_______________________________________________
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


_______________________________________________ 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
References: 
 >Shark + xcode + C++ (From: Alejandro Aragon <email@hidden>)
 >Re: Shark + xcode + C++ (From: Stephen Northcott <email@hidden>)

  • Prev by Date: Re: Shark + xcode + C++
  • Next by Date: Strange directory problem
  • Previous by thread: Re: Shark + xcode + C++
  • Next by thread: [SOLVED] Shark + xcode + C++
  • Index(es):
    • Date
    • Thread