Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 8 Memory Graph says "No selection" and not working

I am working with a project using Xcode 8.0 and Swift3.

I want to use Memory Graph Debugger but it shows nothing:

enter image description here

Expected appearance (from tutorial):

enter image description here

Why can't I use this feature?

This project was created using Xcode 8 (not migrated from old version of Xcode).

Is bitcode related to this problem?

I am trying to use Memory Graph with "Debug" configuration and bitcode on "Debug" is enabled(YES).

like image 618
hiragram Avatar asked Nov 09 '16 05:11

hiragram


Video Answer


2 Answers

Computer restart is what you have to do.

It happened for me too, and no amount of tweaking the settings fixed it - disappointingly, the only thing that worked was a complete restart of the computer.

like image 51
SomaMan Avatar answered Sep 29 '22 11:09

SomaMan


This could be because you haven't enabled the things that need to be enabled for your requirements. You could try these two steps:

  • First, launch scheme editing by clicking on "Edit Scheme" as in this screen shot:

enter image description here

  • Second: go to "Diagnostics" and enable the things that you need to work (sometimes I need these two things):

enter image description here

  • Close out of editing schemes and try again.

Props to this answer for shaking my own memory awake on this one.

like image 22
lukkea Avatar answered Sep 29 '22 10:09

lukkea