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

XcodeXcode4InstrumentsXcode Instruments

Xcode Problem Overview


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.

Xcode Solutions


Solution 1 - Xcode

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. )

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJames Paul MasonView Question on Stackoverflow
Solution 1 - XcodeWatscheView Answer on Stackoverflow