在iPhone设备上调试时是否可以使用终端malloc_history?

Chr*_*ris 9 iphone debugging terminal console

我发现malloc_history在iOS模拟器上测试时很有用,是否可以为物理设备(iPhone 4)配置它.

控制台上我得到类似的消息

warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).
Run Code Online (Sandbox Code Playgroud)

我需要在某处设置此文件吗?

终端上我得到了这个

malloc_history cannot examine process xxxx because the process does not exist.
Run Code Online (Sandbox Code Playgroud)

任何直接的建议/指向文档将不胜感激.

谢谢

Dav*_*idN -2

尝试启动仪器并使用“分配”。