{ "id": "142726", "key": "TIMOB-18369", "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-21T22:34:44.000+0000", "created": "2015-01-13T10:30:19.000+0000", "priority": { "name": "High", "id": "2" }, "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": [ { "id": "44697", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "141847", "key": "TIMOB-18258", "fields": { "summary": "iOS: Breakpoints in files that are included in app.js causes the app to crash", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-02-25T18:17:28.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": "This is a regression as the Step Over operation can be performed successfully using titanium sdk 3.4.1 GA.\r\nStepping over operation fails when a file is included in app.js and breakpoints are placed in the included file.\r\nSteps to reproduce:\r\n1. Close any running emulators or simulators. \r\n2. Import and open the attached project into studio\r\n3. From Titanium Studio go to Debug perspective (Window > Open perspective > Debug) \r\n4. In the Breakpoints view, Remove All existing breakpoints \r\n5. Go to file -> import -> select breakpoints under Run/Debug and click next \r\n6. Browse to breakpoint-basic.bkpt in Test File Location \r\n7. Debug the test project.\r\n8. Check the result (Call frames in Debug view) for the first breakpoint hit.\r\n9. From Titanium Studio click 'Step Over' \r\n\r\nActual Results:\r\n7. Application runs in the debug mode.\r\n8. In the debug view, there are 3 call frames. One of them is empty which is not required. Please refer to the attached screenshot.\r\n [Eval Script] [import.js:6] \r\n [Eval Script]\r\n [Top-level Script] [app.js:1] \r\n\r\n9. Line 2 is not highlighted in app.js. \r\n\r\nExpected Results:\r\n7. Application runs in the debug mode.\r\n8. In the debug view, there should be only two call frames as mentioned below.\r\n [Eval Script] [import.js:6] \r\n [Top-level Script] [app.js:1] \r\n9. Line 2 should be highlighted in app.js after Step Over operation . ", "attachment": [ { "id": "53563", "filename": "app.js", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-14T06:28:56.000+0000", "size": 390, "mimeType": "application/x-javascript" }, { "id": "53536", "filename": "debug_test.zip", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-13T10:30:19.000+0000", "size": 3687659, "mimeType": "application/zip" }, { "id": "53564", "filename": "import.js", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-14T06:28:56.000+0000", "size": 149, "mimeType": "application/x-javascript" }, { "id": "53537", "filename": "Screen Shot 2015-01-13 at 6.50.53 PM.png", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-13T10:58:26.000+0000", "size": 324726, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Stepping over does not work if breakpoints are in the file that is included in app.js.", "creator": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Appcelerator Studio: 3.4.1.201410281743 \r\nTitanium SDK: 3.5.0.v20150112153317 \r\nTitanium CLI: 3.4.1 \r\nAlloy: 1.5.1 \r\nOS: Mac OSX Yosemite 10.10 \r\nXcode 6.1", "comment": { "comments": [ { "id": "338882", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can we please simplify this does to two short files that can be shown in the ticket themselves (as opposed to importing a project with a lot of extra items)?\r\n\r\nDid this work as of testing TIMOB-18258 and has since regressed?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-13T15:38:59.000+0000", "updated": "2015-01-13T15:38:59.000+0000" }, { "id": "339004", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "[~ingo] Yes, we can just simplify it to those two files (app.js, import.js).\r\nI have attached app.js and import.js files from simple classic app in which the issue is reproducible.\r\nJust need to place breakpoints at line 6 and line 9 in import.js file. And line 3 in app.js file.\r\n\r\nStep Over in the included file is not working in titanium SDK 3.5.0.v20150106224118 with which the bug TIMOB-18258 was verified.", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-14T06:42:47.000+0000", "updated": "2015-01-15T02:59:44.000+0000" }, { "id": "344330", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed using:\r\n\r\nTitanium SDK 3.5.1.v20150223154830\r\nStudio 3.4.2.201502181619\r\nCLI 3.4.2-alpha\r\nXcode 6.2b5\r\n\r\nOnly two call frames are shown and the 'Step Over' operation correctly highlights the next line.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-02-25T18:16:41.000+0000", "updated": "2015-02-25T18:16:41.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }