【发布时间】:2011-07-23 11:24:20
【问题描述】:
我正在尝试使用 Instruments 查看 Monotouch 应用中的资源使用情况。但是,我无法通过 Instruments 启动该应用。
当我点击 Instruments 中的录制按钮时,应用程序在我的 iPhone 上启动,发出嗡嗡声(表示它是调试版本),然后崩溃 - 并且 Instruments 报告:
Target failed to run: Remote exception encountered : 'Failed to get task for pid 384'
当我直接在手机上启动应用程序时,它运行良好。
我已经尝试过调试构建和临时构建(使用Monotouch support page 上定义的参数)。总是一样的。
我正在使用 Monotouch 3.2.5、iOS 4.3.1(在 3GS 上)、Xcode 4 和 Snow Leopard。
我在网络上的一些地方看到过这个问题,但还没有看到解决方案。有人知道怎么解决吗?
【问题讨论】:
标签: iphone profiling xamarin.ios instruments