在Xcode 4.1 Build 4B110下通过Profile启动乐器的错误 [英] Bug with starting Instruments via Profile under Xcode 4.1 Build 4B110

查看:121
本文介绍了在Xcode 4.1 Build 4B110下通过Profile启动乐器的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

重要更新

奇怪的错误(至少对我来说)在Xcode 4.2中已得到修复!

The strange bug is fixed (at least for me) in Xcode 4.2!

我在Mac OS X Lion下使用Xcode 4.1 Build 4B110并通过Xcode运行Instruments时遇到严重问题.问题是如果我通过Xcode启动Instrument,它会部分冻结.因此,如果我在Xcode 4.1中启动一个项目并打开配置文件",则会出现Instruments UI.计时器开始运行,但乐器应用未跟踪任何内容,更严重的问题是

I've a serious problem with Xcode 4.1 Build 4B110 under Mac OS X Lion and running Instruments via Xcode. The problem is that Instrument freezes partly if I start it via Xcode. So if I start a project in Xcode 4.1 and open "Profile" the Instruments UI appears. The timer starts running, but the instruments app doesn't track anything and the more serious problem:

该程序似乎正在运行,但是对我执行的任何操作均无反应.因此,我无法单击任何按钮,等等.什么也没有发生.计时器仍在运行,但是我无能为力.我也无法再关闭窗口/应用程序.因此,我必须强制停止Instruments应用.

The program seems to be running but does not react to any actions I make. So I can not click on any buttons etc. Nothing happens. The timer is still running, but I can not do anything. I also can not close the window/app anymore. So I have to force stop the Instruments app.

但是,如果我直接通过Developer/Applications/Instruments.app启动Instruments应用程序,一切正常.当然,该应用程序不会跟踪任何内容,但是我可以单击按钮以及那里的所有可能内容.

But if I start the Instruments app directly via Developer/Applications/Instruments.app everything is ok. Of course, the app doesn't track anything, but I can click on the buttons and anything possible there.

那么有人知道这个问题吗?

So does anyone know about this problem?

有人知道如何解决这个奇怪的问题吗?

Does anybody know how to fix this weird problem?

我还用相应的deinstall-script文件删除了developers文件夹,并重新安装了Xcode 4.1.但是问题仍然存在.

I've also deleted the developers folder with the corresponding deinstall-script file and reinstalled Xcode 4.1. But still the problem persists.

有人可以给我提示,技巧等吗?

Can anybody give me a hint, tip, etc.?

真的很棒!

更新

所以,还有其他怪异的东西:

So, further weird stuff:

个人资料在某种程度上适用于iOS 3.0版本的应用程序,但稍作休息后便无法再次使用.因此,我不知道此错误在哪里.我想这与目标应用程序的iOS版本有关.

Profile somehow worked for iOS 3.0 version apps, but after making a short break it didn't work again. So, I don't know where this bug is located. I guess it's about the target app iOS version.

谢谢安德里亚斯

推荐答案

在andi1984上对此发表您的评论,这样,对于像我这样的救生员来说,没有人会错过这个大"答案.这对我来说很棒!

Quoting your comment on this, andi1984, so that no one misses this "big" answer for anyone (like me) for whom it is a lifesaver. This worked great for me!

如果我要打开Xcode,请选择配置文件",然后选择一种仪器(让我们 说泄漏),新的仪器"窗口将打开.那我需要回去 Xcode(而Instrument.app窗口仍在后台打开!)和 必须使用命令+选项卡从前面的Xcode中选择 Instrument.app再次.然后乐器应用向我显示了被跟踪的 数据.确实很奇怪的问题,但是现在可以了. ;-)

If I'm opening Xcode, choose Profile and choose one instrument (let's say Leaks) the new Instrument window opens. Then I need to go back to Xcode (while Instrument.app window is still open in background!) and have to use command + tab to choose out of Xcode in front the Instrument.app again. Then the Instrument app shows me the tracked data. Really weird problem, but now it works. ;-)

这篇关于在Xcode 4.1 Build 4B110下通过Profile启动乐器的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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