0

i'm wondering if there is any information out there on runinng the Instruments application from the command line, or otherwise launct the app in some automated fashion externally.

I'm aware of the "instruments" command line tool, but that seems to run Instruments/DTrace silently and collects info into a log file — that's not what i want to do. I would like to emulate — essentially — what Xcode does when you press the profile button. Launch the instruments GUI and have it, say, attach to a given given Process ID, so that the user sitting in front of the Mac can then interact with the app, see the data it collects etc.

Xcode does it, so surely there must be some kind of API?

thanx, marc

marc hoffman
  • 586
  • 1
  • 5
  • 14
  • http://stackoverflow.com/questions/4191945/can-the-ui-automation-instrument-be-run-from-the-command-line – The Lazy Coder Dec 28 '12 at 23:44
  • sorry, but did you read my question beyond the first line? i'm aware of the "instruments" command line tool. i want to launch the Instruments *application* and have it run on a given process. – marc hoffman Dec 30 '12 at 12:13

0 Answers0