{ "id": "142401", "key": "TIMOB-18333", "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": [ { "id": "16711", "description": "Release 3.5.1", "name": "Release 3.5.1", "archived": false, "released": true, "releaseDate": "2015-03-06" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-01-27T22:03:03.000+0000", "created": "2015-01-07T04:46:30.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.5.0", "qe-verified", "regression" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-02-25T17:44:18.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": "Debugger creates unnecessary call-frames in 3.5.0. Two screenshots are attached to differentiate the behaviors in 3.5.0 and 3.4.1.\r\nh6. It's a regression since 3.4.1 works as expected\r\n\r\nh5. Steps To Reproduce\r\n1. Create a classic App\r\n2. Add following two JS files called app.js and import.js\r\n{panel:title=app.js}\r\n{code}\r\nTi.include(\"import.js\");\r\n\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nwin.open(); {code}\r\n{panel}\r\n\r\n{panel:title=import.js}\r\n{code} \r\nvar x = 10;\r\nTi.API.info(\"x = \"+x);\r\n\r\nfunction imported(x) {\r\n\tvar y = 'y';\r\n\tTi.API.log(\"Imported function: x=\"+x+\", y=\",y);\r\n}\r\n{code}\r\n{panel}\r\n3. Place a breakpoint at line 2 of import.js file\r\n4. Debug in iOS device.\r\n5. Observe the call-frames in *Debug pane*\r\n\r\nh5. Actual Result\r\n3 call-frames are observed and 2nd is unnecessary. See the screenshot *Screenshot_3.5.0.png*\r\n\r\nh5. Expected Result\r\n2 call-frames observed. See the screenshot *Screenshot_3.4.1.png*\r\n\r\n*Note:* Variables in variable pane are grayed in 3.5.0 while 3.4.1 shows as green.", "attachment": [ { "id": "53438", "filename": "Screenshot_3.4.1.png", "author": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-07T04:46:30.000+0000", "size": 121913, "mimeType": "image/png" }, { "id": "53439", "filename": "Screenshot_3.5.0.png", "author": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-07T04:46:30.000+0000", "size": 121185, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Debugger creates unnecessary call-frames in debug view", "creator": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Test Environment:\r\nTitanium SDK: 3.5.0.v20150106150919\r\nAppc-Studio: 3.4.1 GA\r\nTitanium CLI: 3.4.1 GA\r\nAlloy : 1.5.1 GA\r\nXcode : 6.1\r\nOS: OSX 10.10.1\r\nDevice : iPhone 6plus (iOS 8.1)", "closedSprints": [ { "id": 126, "state": "closed", "name": "2018 Sprint 05 SDK", "startDate": "2018-02-25T19:38:08.926Z", "endDate": "2018-03-11T18:38:00.000Z", "completeDate": "2018-03-11T22:06:01.520Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "338134", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FYI--please review.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-07T05:13:09.000+0000", "updated": "2015-01-07T05:13:09.000+0000" }, { "id": "338927", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/6564", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-13T19:35:25.000+0000", "updated": "2015-01-13T19:35:25.000+0000" }, { "id": "340847", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.10.1\r\nAppcelerator Studio, build: 3.4.1.201410281743\r\nTitanium SDK build: 3.5.1.v20150122144120 ,3.6.0.v20150127082526 \r\nTitanium CLI, build: 3.4.1\r\nAlloy: 1.5.1\r\nXcode 6.1.1\r\niPhone 6 (8.1), iOS Simulator (8.1)\r\n\r\nBuilt to device and sim, the second eval script call frame no longer exists.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-01-27T22:01:00.000+0000", "updated": "2015-01-27T22:02:58.000+0000" }, { "id": "340849", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Reopening to fix comment", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-01-27T22:01:40.000+0000", "updated": "2015-01-27T22:01:40.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }