Re: Terminal environment in instruments
Re: Terminal environment in instruments
- Subject: Re: Terminal environment in instruments
- From: Fons Rademakers <email@hidden>
- Date: Mon, 23 Jun 2008 17:24:13 +0200
- Organization: CERN
Hi Jakub,
in "Launch Executable" you can browse for your executable and also set
the needed Environment Variable", like DYLD_LIBRARY_PATH and the program
arguments.
Cheers, Fons.
Jakub Bednar wrote:
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
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: email@hidden Phone: +41 22 7679248
WWW: http://fons.rademakers.org Fax: +41 22 7669640
_______________________________________________
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