{ "id": "139550", "key": "TIMOB-18024", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2015-06-11T04:19:44.000+0000", "created": "2014-11-12T01:15:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios", "memory", "xcode6" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:58:34.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "I'd like to understand if its possible to identify a reference from a TiUIView or a TiUIViewProxy from Xcode instruments to Alloy. Is this currently possible? If not, what would it take to do this?", "attachment": [ { "id": "55810", "filename": "Fixed in xcode 7.png", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-06-11T04:13:06.000+0000", "size": 128935, "mimeType": "image/png" }, { "id": "55809", "filename": "workaround for xcode 6.3.png", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-06-11T04:19:14.000+0000", "size": 218818, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Referencing Titanium object from Xcode Instruments Native objects", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Xcode 6 Instruments", "comment": { "comments": [ { "id": "347531", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It was possible. However either Xcode 6.2 and/or Titanium 3.5.0.GA + made this no longer work. Titanium Proxy objects aren't showing up in instruments anymore.", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-27T06:40:05.000+0000", "updated": "2015-03-27T06:40:05.000+0000" }, { "id": "352970", "author": { "name": "bobrosoft", "key": "bobrosoft", "displayName": "Vladimir Tolstikov", "active": true, "timeZone": "Europe/Moscow" }, "body": "Any official comment on how to see Proxy objects in Xcode 6 Instruments? Just faced the same problem, was ok in Xcode 5 Instruments, but now I can't clearly see if app leaks or not. @Ingo Muschenetz, any comment?", "updateAuthor": { "name": "bobrosoft", "key": "bobrosoft", "displayName": "Vladimir Tolstikov", "active": true, "timeZone": "Europe/Moscow" }, "created": "2015-05-19T12:12:30.000+0000", "updated": "2015-05-19T12:12:30.000+0000" }, { "id": "352973", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a very high value bug. \r\n\r\nI am in the process of relaunching codexcasts today at the moment, but I will upload some screenshots on how to indirectly see proxies ( look dive into the objects that are retaining the most memory).", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-19T12:36:32.000+0000", "updated": "2015-05-19T12:36:32.000+0000" }, { "id": "354576", "author": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "body": "Bump [big style bump]\r\n\r\nAny love for this one [~ingo]?\r\n\r\nCausing me a real issue right now.\r\n\r\nAt the very least the docs for instruments should be changed to \"sorry closed for refurbishments\" ;(", "updateAuthor": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "created": "2015-06-08T16:35:34.000+0000", "updated": "2015-06-08T16:35:34.000+0000" }, { "id": "354595", "author": { "name": "bobrosoft", "key": "bobrosoft", "displayName": "Vladimir Tolstikov", "active": true, "timeZone": "Europe/Moscow" }, "body": "Personally, we're going to go native for iOS soon, I hope. I realized that Titanium is good for prototypes, but not when you need to \"go serious\". Those compatibility issues and regressions is out of our control. I know, they can say \"it's open source, you can make a pull request\", but for that you'll need to be into Titanium and how all things works.", "updateAuthor": { "name": "bobrosoft", "key": "bobrosoft", "displayName": "Vladimir Tolstikov", "active": true, "timeZone": "Europe/Moscow" }, "created": "2015-06-08T18:51:00.000+0000", "updated": "2015-06-08T18:51:00.000+0000" }, { "id": "354615", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "**I figured this out **\r\nI will be recording a free codex casts episode on how to do this.\r\n\r\nHere are the rough notes\r\nopen your titanium app in xcode and profile it.\r\nopen up the leaks instrument\r\nhit record\r\ngo to All Heap Allocations\r\nfilter by TiUI\r\nSuccess. \r\n\r\nsee this pretty screen shot\r\n!https://www.codexlabs.com/assets/yes.png!\r\n\r\nI couldn't see how to attach an image to this thread, so I dumped it on my website.\r\n", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-08T21:16:47.000+0000", "updated": "2015-06-08T21:18:47.000+0000" }, { "id": "354617", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It is not a perfect fix, but it is 90% the way there.", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-08T21:19:35.000+0000", "updated": "2015-06-08T21:19:35.000+0000" }, { "id": "354645", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Thanks [~sophrinix], I researched this a little more based on your instructions, but it doesn't do anything for simulator. Whereas on device, it works, but we don't have to check All Heap Allocations. Default values will work.\r\n\r\nBecause this is a known issue in Xcode 6 instruments. See below 2 links for references:\r\nhttp://stackoverflow.com/questions/29121260/instruments-allocations-not-showing-app-classes-objects\r\nhttp://stackoverflow.com/questions/29233424/xcode-6-allocation-instruments-dont-show-own-class-name\r\n\r\nTo correctly reference titanium object in Xcode 6 instruments, please use a device for now.\r\nWe will update the wiki page accordingly.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-06-09T06:03:25.000+0000", "updated": "2015-06-09T06:15:32.000+0000" }, { "id": "354652", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Look at that screenshot again. I am clearly using a Simulator. :-)\r\n\r\nI am teaching an Appcelerator Course this week, but I will release a free codexcasts screencast to demonstrate how to do this.\r\n\r\nI needed to figure this out for my students.\r\n\r\n \r\n", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-09T11:32:23.000+0000", "updated": "2015-06-09T11:32:23.000+0000" }, { "id": "354653", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hey [~sophrinix], ah sorry I misunderstood. I wasn't able to see your screenshot, it's a broken link from my end. But it's ok, looking forward to your screencast!", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-06-09T11:52:01.000+0000", "updated": "2015-06-09T11:52:01.000+0000" }, { "id": "354656", "author": { "name": "bobrosoft", "key": "bobrosoft", "displayName": "Vladimir Tolstikov", "active": true, "timeZone": "Europe/Moscow" }, "body": "@Andrew McElroy, thanks for found that! Need to check... So, that's not Titanium's issue, ok then.", "updateAuthor": { "name": "bobrosoft", "key": "bobrosoft", "displayName": "Vladimir Tolstikov", "active": true, "timeZone": "Europe/Moscow" }, "created": "2015-06-09T13:57:23.000+0000", "updated": "2015-06-09T13:57:23.000+0000" }, { "id": "354659", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Do we know if Xcode 7 has corrected this issue?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-09T15:20:51.000+0000", "updated": "2015-06-09T15:20:51.000+0000" }, { "id": "354702", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "as Promised. It's a free episode. https://codexcasts.com/episodes/titanium-and-xcode-instruments-6-3\r\n\r\n@ingo I will look into if Xcode 7 is impacted. I suspect the issue will still be there.\r\n", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-09T21:43:09.000+0000", "updated": "2015-06-09T21:43:09.000+0000" }, { "id": "354833", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Thanks for the video [~codexlabs], has updated https://wiki.appcelerator.org/display/guides2/Managing+Memory+and+Finding+Leaks accordingly.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-06-11T02:17:10.000+0000", "updated": "2015-06-11T02:17:10.000+0000" }, { "id": "354846", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I just tested on Xcode 7. Apple has fixed this for instruments on Xcode 7. I'll edit the wiki again. Also see attached screenshots for reference.\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-06-11T04:12:17.000+0000", "updated": "2015-06-11T04:19:37.000+0000" }, { "id": "415723", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket with reference to the previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:58:34.000+0000", "updated": "2017-03-24T18:58:34.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }