{ "id": "102258", "key": "TIMOB-11182", "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": "2012-09-26T23:28:46.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "debugger", "parity", "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": [ { "id": "21582", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "102232", "key": "TIMOB-11173", "fields": { "summary": "Android: Debugger: breakpoint at global unassigned variable declaration hits next statement instead", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:04:19.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Breakpoints at line 1 are not hit by debugger, but next statement is instead.\r\n\r\nThis is not a regression. This does not occur in iOS.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Debug with code (manually enter breakpoint as per comment):\r\n\r\n{code}\r\nvar x = 0; // breakpoint\r\n\r\nfunction y(z){\r\n\treturn z + 1;\r\n}\r\n\r\nvar q = y(1);\r\n\r\nalert('q == ' + q);\r\n{code}\r\n\r\nActual Result:\r\n\r\nLine 7 is hit by debugger instead of line 1.\r\n\r\nExpected Result:\r\n\r\nLine 1 should be hit by debugger. The workaround is to move all code down one line, so the code begins at line 2, and the breakpoint is at line 2.", "attachment": [ { "id": "32084", "filename": "androiddebugger.log", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T23:28:46.000+0000", "size": 2693, "mimeType": "text/plain" }, { "id": "32085", "filename": "iosdebugger.log", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T23:28:46.000+0000", "size": 2061, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Debugger: breakpoints at line 1 skipped and resumed at next statement", "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 SDK: 2.1.2.GA, 3.0.0.v20120926130913\r\nTitanium Studio: 3.0.0.201209252419\r\nOS: Mountain Lion 10.8.2\r\nDevices Tested: Android Emulator 2.3.3", "comment": { "comments": [ { "id": "371825", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is seen on android & not on IOS with the current GA stack.\r\n\r\nEnvironment:\r\nAppc Studio : 4.4.0.201511241829\r\nTi SDK : 5.1.1.GA\r\nTi CLI : 5.0.5\r\nAlloy : 1.7.26\r\nMAC Yosemite : 10.10.5\r\nAppc NPM : 4.2.2\r\nAppc CLI : 5.1.0\r\nNode: v0.12.27\r\nNexus 6 - Android 6.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-12-01T22:53:41.000+0000", "updated": "2015-12-01T22:53:41.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }