• 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
Terminal environment in instruments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Terminal environment in instruments


  • Subject: Terminal environment in instruments
  • From: Jakub Bednar <email@hidden>
  • Date: Mon, 23 Jun 2008 16:41:00 +0200

Hi,
I'm developing a command line tool under Linux. Now I've ported it to Mac and create a
XCode project to build my tool hoping that I'll benefit from all the great tools. Now I have found a bug in my program and am trying to use the instruments to hunt it.


But I haven't found a way how to tell instruments to run my program with specific environment variables (espacially DYLD_LIBRARY_PATH), so when I try to launch the application
from instruments, it just ends with error from loading libraries.


Is there a way how to set environment from instruments?

I've also another problem with dtrace. I need to print stack whenever a specific address
is deleted. I think dtrace is the tool I need. But when I use dtrace to run my application,
it starts it correctly, runs it for a while, but than just hang up. Running without dtrace works
fine.


Can please somebody help me?

Jakub Bednar



_______________________________________________
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: Terminal environment in instruments
      • From: Fons Rademakers <email@hidden>
  • Prev by Date: Re: Empty project will not build
  • Next by Date: Re: Newbie pulling my hair out regarding a simple xcode issue. Please help :-)
  • Previous by thread: Re: Smart group for "hot" files?
  • Next by thread: Re: Terminal environment in instruments
  • Index(es):
    • Date
    • Thread