Why VM Tracker is empty?

て烟熏妆下的殇ゞ 提交于 2019-12-06 21:30:16

问题


I'm using Allocations template to profile my app on iPhone, but VM Tracker is always empty. Why? How to make it show data?


回答1:


You have to tell it to take snapshots periodically. Before starting the app...

  1. Click on the VM Tracker Instrument to activate it.
  2. Show the Detail View (Command-D) if you don't see it already.
  3. In the left (blue) side bar, activate "Automatic Snapshotting".
  4. Run.

Optionally you can choose to take snapshots manually before and after interesting events in your app.




回答2:


In Xcode 10, this option is located at the bottom of the window, the “Snapshots” button:



来源:https://stackoverflow.com/questions/11692242/why-vm-tracker-is-empty

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