Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 700
James Paul Mason Avatar asked Aug 28 '11 23:08

James Paul Mason


1 Answers

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

like image 193
Watsche Avatar answered Oct 19 '22 11:10

Watsche