XCode instruments not reporting any data

戏子无情 提交于 2019-12-08 07:36:42

问题


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 ideas on how I can resolve this?


回答1:


What helped me is rebooting the iPad I was testing on. I've tried other tricks, this is the simplest and quickest one .)

Z.




回答2:


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.




回答3:


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



来源:https://stackoverflow.com/questions/3737875/xcode-instruments-not-reporting-any-data

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