Instruments 4.1 unresponsive to projects launched from Xcode 4.1 until pressing Cmd-Tab

喜夏-厌秋 提交于 2019-12-10 12:37:57

问题


If I open Instruments and select a standard application (e.g. Mail or MS Word) it has no issue. If I am in Xcode and I go to Product > Profile (or press Cmd + I), it launches Instruments, allows me to select a template, and loads the standard screen. Then the downward arrow starts tracing to the right as it should, and the iOS simulator launches the program. However, nothing is plotted in Instruments. It shows no changes to anything no matter what the app is doing. I can't click anything in Instruments: no menu's, can't stop recording, can't open tabs, etc.

I randomly discovered that if I hit Cmd + Tab, Instruments will start behaving normally. This seems really strange to me. Either it's a bug or it's a hole in my knowledge about how to operate Instruments.


回答1:


Strange bug is fixed in XCode 4.2! The problem was the hidden password dialog, so sometime it works and sometimes not. One of possible solutions was:

  1. Run Instruments
  2. Cmd Tab to Xcode covering the instruments. Cycle and hide messages until password dialog is found.
  3. Close Xcode.

PS: I know it is a few years to late for the answer, I was just looking for unanswered questions. Just check as answered - > it's good for both of us. )



来源:https://stackoverflow.com/questions/7224665/instruments-4-1-unresponsive-to-projects-launched-from-xcode-4-1-until-pressing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!