Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 从命令行或以任何其他自动方式启动Instruments.app_Objective C_Xcode_Instruments - Fatal编程技术网

Objective c 从命令行或以任何其他自动方式启动Instruments.app

Objective c 从命令行或以任何其他自动方式启动Instruments.app,objective-c,xcode,instruments,Objective C,Xcode,Instruments,我想知道是否有任何关于从命令行运行Instruments应用程序的信息,或者以某种自动方式从外部启动应用程序的信息 我知道“instruments”命令行工具,但它似乎以静默方式运行instruments/DTrace,并将信息收集到日志文件中——这不是我想要做的。我想模拟——本质上——当您按下profile按钮时Xcode所做的事情。启动instruments GUI并将其连接到给定的进程ID,这样坐在Mac前面的用户就可以与应用程序交互,查看它收集的数据等 Xcode做到了,所以肯定有某种A

我想知道是否有任何关于从命令行运行Instruments应用程序的信息,或者以某种自动方式从外部启动应用程序的信息

我知道“instruments”命令行工具,但它似乎以静默方式运行instruments/DTrace,并将信息收集到日志文件中——这不是我想要做的。我想模拟——本质上——当您按下profile按钮时Xcode所做的事情。启动instruments GUI并将其连接到给定的进程ID,这样坐在Mac前面的用户就可以与应用程序交互,查看它收集的数据等

Xcode做到了,所以肯定有某种API

thanx,
marc

对不起,你读了第一行以外的问题了吗?我知道“instruments”命令行工具。我想启动Instruments应用程序,并在给定的进程上运行它。