xcode instruments current working directory and console output
Hi,
First off, thanks for any help you guys might have. I have two related questions. My program is a C++ command line utility, and in XCode I have the working directory set appropriately (under "Executable Info"). However, when I run with one of the "Performance Tools" (like the one called "Leaks") it seems to change the current working directory, and the Instruments UI does not offer a way to change it.
So my first question is, how can I make sure that Instruments runs my app in the working dir that I've specified in XCode?
My second question is, when using Instruments, why doesn't output go to the console? How can I see the stdout output?
very best,
Gabe
First off, thanks for any help you guys might have. I have two related questions. My program is a C++ command line utility, and in XCode I have the working directory set appropriately (under "Executable Info"). However, when I run with one of the "Performance Tools" (like the one called "Leaks") it seems to change the current working directory, and the Instruments UI does not offer a way to change it.
So my first question is, how can I make sure that Instruments runs my app in the working dir that I've specified in XCode?
My second question is, when using Instruments, why doesn't output go to the console? How can I see the stdout output?
very best,
Gabe
MacBook Pro, Mac OS X (10.5.5)