I'm trying to debug in XCode using the instruments but most of them are not showing any data. I tried this from my home machine and it worked fine, but on my work iMac the following instruments report no data at all:
- Activity Monitor
- Allocations
- Memory Monitor
The Leaks instrument seems to be working fine.
I am developing an iPad app and am trying to run the instruments with the simulator.
XCode version 3.2.3 64-bit
Xcode IDE: 1688.0
Xcode Core: 1691.0
ToolSupport: 1591.0
Instruments Version 2.7 (2529)
Any ide开发者_高级运维as on how I can resolve this?
What helped me is rebooting the iPad I was testing on. I've tried other tricks, this is the simplest and quickest one .)
Z.
Are you in debug or release mode? What are your target's debug settings (ie, level of debug symbols, optimization level, strip status, etc.)? You'll need to be in debug mode and for your target's debug configuration information, you'll want default or all debugging symbols, no optimization, and no strip.
Answering my own question. It looks like cmd-tabbing back and forth between the Xcode and Instruments window triggers the simulator to start up:
Instruments 4.1 unresponsive to projects launched from Xcode 4.1 until pressing Cmd-Tab
精彩评论