{"action":"created","issue":{"url":"https://api.github.com/repos/Flipboard/FLEX/issues/88","labels_url":"https://api.github.com/repos/Flipboard/FLEX/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/Flipboard/FLEX/issues/88/comments","events_url":"https://api.github.com/repos/Flipboard/FLEX/issues/88/events","html_url":"https://github.com/Flipboard/FLEX/issues/88","id":115770526,"number":88,"title":"Heap Objects and Classes empty","user":{"login":"revolter","id":5748627,"avatar_url":"https://avatars.githubusercontent.com/u/5748627?v=3","gravatar_id":"","url":"https://api.github.com/users/revolter","html_url":"https://github.com/revolter","followers_url":"https://api.github.com/users/revolter/followers","following_url":"https://api.github.com/users/revolter/following{/other_user}","gists_url":"https://api.github.com/users/revolter/gists{/gist_id}","starred_url":"https://api.github.com/users/revolter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revolter/subscriptions","organizations_url":"https://api.github.com/users/revolter/orgs","repos_url":"https://api.github.com/users/revolter/repos","events_url":"https://api.github.com/users/revolter/events{/privacy}","received_events_url":"https://api.github.com/users/revolter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-08T23:53:58Z","updated_at":"2015-11-10T17:09:38Z","closed_at":null,"body":"When trying to view Heap Objects and MyApp Classes instances, the results table views are empty, as you can see in the following screenshots:\r\n\r\n[![Screenshot 1](http://i.imgur.com/Ra6AYIdm.jpg)](http://i.imgur.com/Ra6AYId.jpg) [![Screenshot 2](http://i.imgur.com/ZWe9NTkm.jpg)](http://i.imgur.com/ZWe9NTk.jpg)\r\n\r\n[![Screenshot 3](http://i.imgur.com/D0TvbnQm.jpg)](http://i.imgur.com/D0TvbnQ.jpg) [![Screenshot 4](http://i.imgur.com/V7uYrDOm.jpg)](http://i.imgur.com/V7uYrDO.jpg)\r\n\r\nWhen I first added this library, it worked, but it was often crashing, and suddenly stopped showing instances.\r\n\r\nEven if I call `new` on a class, and the instance creates successfully, when I go back and select `Instances` it shows up empty.\r\n\r\nHow can I debug this problem? Does anyone have a clue about why is this happening?\r\n\r\nI'm on my phone so I could add more info if needed later."},"comment":{"url":"https://api.github.com/repos/Flipboard/FLEX/issues/comments/155489721","html_url":"https://github.com/Flipboard/FLEX/issues/88#issuecomment-155489721","issue_url":"https://api.github.com/repos/Flipboard/FLEX/issues/88","id":155489721,"user":{"login":"ryanolsonk","id":1422245,"avatar_url":"https://avatars.githubusercontent.com/u/1422245?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanolsonk","html_url":"https://github.com/ryanolsonk","followers_url":"https://api.github.com/users/ryanolsonk/followers","following_url":"https://api.github.com/users/ryanolsonk/following{/other_user}","gists_url":"https://api.github.com/users/ryanolsonk/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanolsonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanolsonk/subscriptions","organizations_url":"https://api.github.com/users/ryanolsonk/orgs","repos_url":"https://api.github.com/users/ryanolsonk/repos","events_url":"https://api.github.com/users/ryanolsonk/events{/privacy}","received_events_url":"https://api.github.com/users/ryanolsonk/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T17:09:38Z","updated_at":"2015-11-10T17:09:38Z","body":"Yea, unfortunately the heap objects feature has some inherent instability. The state of the application is constantly shifting underneath, so by the time you drill in, all the objects you saw in the first list may be gone. However, if you're never seeing any instances in the detail menus, that definitely sounds like a bug. I can't reproduce that myself, so maybe you can provide more details about your environment.\r\n\r\nI'd also like to spend some time trying to reduce crashes in this area but it's not exactly a straightforward task. Simply retaining some of these objects or calling -description can cause crashes immediately or down the line. Also, any expectations of thread confinement will likely be violated through the presentation of this interface.\r\n\r\nThe code itself is not actually that complex if you want to poke around. I also think it's one of the more interesting areas of the tool. Check out `FLEXHeapEnumerator`, `FLEXLiveObjectsTableViewController`, and `FLEXInstancesTableViewController`."}}