故障检漏仪 [英] Trouble Running Leaks Instrument

查看:67
本文介绍了故障检漏仪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自安装3.0 SDK以来,我在运行泄漏检测仪器时遇到了麻烦.这里的NDA免责声明我认为这不是3.0 SDK问题,只是配置问题.因此,我正在寻找有关配置相关工具的建议,而不是3.0 SDK本身.

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.

我的应用程序已编译为OS 2.2版.我可以在运行2.2、2.2.1、3.0的Simulator和Device上以调试模式在XCode之外运行它.

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.

如果使用Performance Tools-> Leaks启动它,则会从操作系统中收到错误消息:应用程序xxxx意外退出",忽略,报告,重新启动".如果我单击忽略",将发生两种情况之一,或者是泄漏告诉我无法连接,或者泄漏停止响应输入,我必须强制退出.有趣的是,模拟器是从3.0 OS开始的.

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.

如果我手动启动Instruments并连接到正在运行的2.2模拟器,则会显示相同的行为.

If I start Instruments Manually and attach to a running 2.2 Simulator it shows the same behavior.

如果我将泄漏连接到iPhone设备,则它可以正常工作.

If I attach Leaks to an iPhone Device it works.

似乎,一旦我启动Leaks,我的应用程序将无法在模拟器中运行,除非执行新的构建.

It seems that once I launch Leaks my app won't run in the simulator until I do a new build.

有什么想法可以使我的模拟器/泄漏/Xcode重新同步?

Any ideas for getting my Simulator/Leaks/Xcode synced back up?

谢谢, 杰夫

推荐答案

我偶然发现了自己的答案.我让应用程序针对3.0 SDK版本进行构建,然后运行Leaks Instrument.现在,当我针对2.2 SDK构建应用程序时,泄漏工具将起作用. 看起来像是摇动手柄"的经典案例.

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.

这篇关于故障检漏仪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆