使用泄漏仪器时仪器崩溃 [英] Instruments crashing while using Leaks instrument

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

问题描述

好的,这就是问题所在.我正在尝试使用仪器调试应用程序,但是每次尝试使用Leaks仪器时,Instruments都会崩溃大约3秒钟.仅当我尝试在实际设备上使用它时,才会发生这种情况,当它刚刚连接到模拟器时,它将运行良好.

Ok, so heres the issue. I'm attempting to debug an app with instruments but every time i try to use the Leaks instrument Instruments crashes about 3 seconds into it. This only occurs when i try to use it with an actual device, it will run fine when its just attached to the simulator.

我已经在两台不同的计算机上重新安装了Xcode和Instruments,并且正在运行最新版本.这不是该应用程序的问题,因为我已经在2个其他应用程序中进行过尝试,并且发生了相同的事情.另外,我已经在多种不同的设备上进行了尝试,并且发生了相同的事情.

I have reinstalled Xcode and Instruments on 2 different computers, and am running the latest version. This isn't an issue with the app either because i have tried it with 2 other apps and the same thing happens. Also, i have tried this with multiple different devices and the same thing is happening.

有什么建议吗?

推荐答案

我刚刚在Instruments中经历了100%可再现的崩溃(效率不高),这似乎是通过重建聚光灯索引(sudo mdutil -E /)修复的,所以对于那些无法让Instruments运行超过几秒钟的人来说,值得尝试一下.

I was just experiencing 100% reproducible crashes in Instruments (not very productive) that seem to have been fixed by rebuilding the spotlight index (sudo mdutil -E /), so that might be worth a try for anyone who can't get Instruments to run for more than a few seconds.

这篇关于使用泄漏仪器时仪器崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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