{ "id": "136645", "key": "TIMOB-17992", "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": null, "resolutiondate": null, "created": "2014-09-16T09:09:34.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.4.0" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2016-06-30T04:34:08.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "12305", "name": "Core", "description": "Central component of the Platform (outside of Tooling, or platform specific implementation details)" } ], "description": "When breakpoints for an app is set in a manner that the app will only load on device once the break point is resumed, stepping over on the last line of the code will not allow the app to load on device/emulator. For eg. when breakpoint is inserted in a sample classic project, clicking on the resume option allows the app to load on device however clicking on step over option till the end of the file does not load the app on to device/emulator.\r\n\r\nThis is not a regression as it is reproducible with Appcelerator studio 3.3.0\r\n\r\nSteps to reproduce:\r\n1. Create a sample classic app\r\n2. Insert break points on 'win1.add(label1);' on app.js file\r\n3. Debug on an android device/emulator\r\n4. Click on resume\r\n5. Debug again on device/emulator\r\n6. Step over till the end of the file.\r\n\r\nActual Result:\r\n3. Break point is hit and a black screen is shown on device/emulator\r\n4. The app loads on device/emulator and works as expected\r\n5. Break point is hit and a black screen is shown\r\n6. App does not load and continues showing black screen\r\n\r\nExpected Result:\r\n6. App should load and should work as expected.\r\n\r\nWhen this is tested with iOS device and emulator, there is no issue and works as expected.", "attachment": [], "flagged": false, "summary": "Android: Stepping over the last line while debugging does not load the app", "creator": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Appcelerator Studio, build: 3.4.0.201409131030\r\nCLI: 3.4.0-rc3\r\nAlloy: 1.5.0-rc2 \r\nCode processor: 1.1.1 \r\nSDK: 3.4.0.v20140915175720\r\nMac OSX version 10.9.4\r\nXcode: Xcode 6 GM seed\r\nDevice: Samsung Note 10.1 (4.3)\r\n", "comment": { "comments": [ { "id": "326598", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was able to reproduce the issue with the 3.4.0 GA studio.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.0.201409261245\r\nTi SDK : 3.4.0.GA\r\nMac OSX : 10.9.4\r\nAlloy : 1.5.0\r\nCLI - 3.4.0\r\nCode Processor: 1.1.1\r\nNexus 5 - android 4.4.4", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-01T17:24:09.000+0000", "updated": "2014-10-01T17:24:09.000+0000" }, { "id": "331110", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "When the user steps over the last line in the app.js file, then Studio is sending the STEP_OVER debug command and is further waiting for the next command from SDK (in order to get the thread into running state). However, it didn't receive any message from the debug connection and that's why the thread remains in Stepping state and I'm not sure why SDK didn't continue to run the app.\r\n\r\n[~cwilliams] I assume this is a SDK issue, as it didn't continue to run the app even though the last line is stepped over ?", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-11-07T01:31:49.000+0000", "updated": "2014-11-07T01:31:49.000+0000" }, { "id": "331271", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~hpham] Can you throw in more light to understand why did the ti debugger does not respond to the step over event of the last line.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-11-08T01:53:54.000+0000", "updated": "2014-11-08T01:53:54.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }