仪器运行泄漏故障
自从安装 3.0 SDK 以来,我在运行 Leaks Instrument 时遇到了问题。 这里有一个 NDA 免责声明 我不认为这是 3.0 SDK 问题,只是一个配置问题。 因此,我正在寻找有关配置相关工具的建议,而不是 3.0 SDK 本身。
这是我所看到的行为的细分。
我的应用程序编译为操作系统版本 2.2。 我可以在运行 2.2、2.2.1、3.0 的模拟器和设备上以调试模式从 XCode 运行它。
如果我使用性能工具启动它 -> 泄漏,我从操作系统收到一条错误消息,“应用程序 xxxx 意外退出”,“忽略,报告,重新启动。” 如果我单击“忽略”,将会发生以下两种情况之一:要么 Leaks 告诉我它无法连接,要么 Leaks 停止响应输入,我必须强制退出。 有趣的是模拟器是在 3.0 操作系统中启动的。
如果我手动启动 Instruments 并连接到正在运行的 2.2 模拟器,它会显示相同的行为。
如果我将 Leaks 连接到 iPhone 设备,它就可以工作。
似乎一旦我启动 Leaks,我的应用程序就不会在模拟器中运行,直到我进行新的构建。
有什么想法可以让我的 Simulator/Leaks/Xcode 同步备份吗?
谢谢, 杰夫
I'm having trouble running the Leaks Instrument since installing the 3.0 SDK. An NDA disclaimer here I don't think this is a 3.0 SDK issue, just a configuration problem. So I'm looking for advice on configuring the tools in question not the 3.0 SDK per se.
Here’s the breakdown of the behavior I am seeing.
My Application is compiled to OS version 2.2. I can run it out of XCode in debug mode on the Simulator and Device running 2.2, 2.2.1, 3.0.
If I start it with Performance Tools -> Leaks, I get an error message from the OS, “The application xxxx quit unexpectedly”, “Ignore, Report, Relaunch.” If I click “Ignore” one of two things will happen, either Leaks tells me it couldn’t attach, or Leaks stop responding to input and I have to Force Quit. Interesting thing is the Simulator starts in 3.0 OS.
If I start Instruments Manually and attach to a running 2.2 Simulator it shows the same behavior.
If I attach Leaks to an iPhone Device it works.
It seems that once I launch Leaks my app won't run in the simulator until I do a new build.
Any ideas for getting my Simulator/Leaks/Xcode synced back up?
Thanks,
Geoff
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我偶然发现了自己的答案。 我让应用程序针对 3.0 SDK 版本进行构建,然后运行 Leaks Instrument。 现在,当我针对 2.2 SDK 构建应用程序时,Leak Instrument 将会工作。
这看起来像是一个典型的“摇动手柄”来修复的案例。
I stumbled across my own answer. I let the app build against the 3.0 SDK version then ran the Leaks Instrument. Now when I build the app against the 2.2 SDK the Leak Instrument will work.
It looks like a classic case of "jiggling the handle" to fix.