{ "id": "101546", "key": "TIMOB-11007", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-14T18:54:32.000+0000", "created": "2012-09-19T15:40:04.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "qe-and090112" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-14T18:54:32.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Debugger continues for an extra step at end of program.\r\n\r\nFor instance, if the debugger steps line by line through app.js:\r\n\r\n{code}\r\nvar myRequire = require('myrequire');\r\n\r\nmyRequire.myFunction();\r\n\r\nTi.include('myinclude.js');\r\n\r\nmyFunction();\r\n\r\nvar appJSLocal = 'appJSLocal';\r\n{code}\r\n\r\n'var appJSLocal = 'appJSLocal'' appears to be called twice at the end when stepping over.\r\n\r\nAttached sample project 'MyProject' (includes js files and breakpoint at line 1).\r\nAttached separate js files (app.js, myrequire.js, and myinclude.js) for reference (same as in 'MyProject.zip').\r\nAttached debugger protocol log: 'androiddebugger.log'\r\nAttached studio/console logs: 'android_debugger_console_log.txt' and 'android_debugger_studio_log.txt' for reference.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run MyProject in debugger.\r\n2. Step into every line in app.js, and step over every line in myrequire.js and myinclude.js.\r\n\r\nActual Result:\r\n\r\nThe last line ('var appJSLocal = 'appJSLocal'') appears to be called twice when step-over is called.\r\n\r\nExpected Result:\r\n\r\nThe program should end after the last assignment statement is registered (the value is assigned in the variables pane) and step-over is called.", "attachment": [], "flagged": false, "summary": "Android: Debugger: debugger continues for an extra step at end of program", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.2, 3.0.0\r\nTitanium SDK: 2.1.2.GA, 3.0.0.v20120917105713\r\nOS: Mountain Lion 10.8\r\nXcode: 4.4/4.5\r\nDevices Tested: Android Emulator 2.2/2.3.3", "comment": { "comments": [ { "id": "421975", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of progress over the past few years. If this problem persists, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-14T18:54:32.000+0000", "updated": "2017-06-14T18:54:32.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }