仪器运行泄漏故障

发布于 2024-07-16 09:52:18 字数 637 浏览 5 评论 0原文

自从安装 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风和你 2024-07-23 09:52:18

我偶然发现了自己的答案。 我让应用程序针对 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文