{ "id": "102727", "key": "TIMOB-11307", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14166", "description": "2012 Sprint 21 Core", "name": "2012 Sprint 21 Core", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-18T01:50:38.000+0000", "created": "2012-10-05T08:40:13.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "debugger", "qe-and100112", "qe-port", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "46230", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "145144", "key": "TIMOB-18615", "fields": { "summary": "iOS Debugger: Breakpoints not recognized on files that are added to app.js using URL", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "22134", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "103569", "key": "TIMOB-11525", "fields": { "summary": "Android: Relative path for Window URL does not work on 3_0_X", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } }, { "id": "22447", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "104224", "key": "TISTUD-2690", "fields": { "summary": "Debugger: Debugging fails to stop on included js file breakpoint.", "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": "Medium", "id": "3" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2015-02-25T19:22:36.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": "This is a regression issue. It does not occur in 2.1.3.GA\r\nSteps To Reproduce:\r\n1. create app with code below.\r\n2. Put a breakpoint on any line in newWin.js file.\r\n3. Run the app using SDK 3.0 in debug mode(Emulator or Device).\r\n4. Click Test button.\r\n\r\nActual: Breakpoint is not recognized in newWin File. Variables tab appear blank. Console output shows nothing.\r\nExpected: Breakpoint must get hit. Console and Variables tab must work as expected.\r\n\r\napp.js\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'blue'\r\n});\r\n \r\n//var ui = require('ui');\r\n\r\nvar button = Ti.UI.createButton({\r\n title: 'Test',\r\n top: 20,\r\n height: 50,\r\n width: 200\r\n});\r\nbutton.addEventListener('click', function(e){\r\n var newWin = Ti.UI.createWindow({url:'newWin.js'});\r\nnewWin.open();\r\n});\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n\r\nnewWin.js\r\n{code}\r\nvar win = Ti.UI.currentWindow;\r\nwin.backgroundColor = 'white';\r\nvar x = 1;\r\nTi.API.info(\"hi\");\r\n{code}\r\n", "attachment": [ { "id": "32428", "filename": "androiddebugger.log", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-09T00:16:08.000+0000", "size": 2484, "mimeType": "text/plain" }, { "id": "32429", "filename": "iosdebugger.log", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-09T00:16:08.000+0000", "size": 2506, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android Debugger: Breakpoints not recognized on files that are added to app.js using URL", "creator": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [ { "id": "103086", "key": "TIMOB-11370", "fields": { "summary": "Incorrect source URL for js files loaded via window.url", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } ], "reporter": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "OS: Mointain Lion OSX 10.8.2\r\nTitanium SDK : 3.0.0.v20121004180913\r\nTitanium Studio: 3.0.0.201210012124\r\n", "comment": { "comments": [ { "id": "222251", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is this Android or iOS? Is this an SDK bug or a Studio bug?", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-05T15:53:52.000+0000", "updated": "2012-10-05T15:53:52.000+0000" }, { "id": "222443", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Pragya,\r\n\r\nSeveral questions:\r\n\r\n1. Do you see this for both Android and iOS debugging?\r\n2. Do you see this when using Studio 3.0.0 but switching to 2.1.3 SDK?\r\n3. Do you see this when using Studio 2.1.2 with SDK 3.0.0?\r\n\r\nThanks.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-07T21:49:02.000+0000", "updated": "2012-10-07T21:49:02.000+0000" }, { "id": "222667", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This does NOT occur in Studio 3.0 using iOS Simulator with SDK 2.1.3 or 3.0.0.X.\n\nThis DOES occur in Studio 3.0 using Android Device with SDK 3.0.0.X.\n\nThis appears to be a long-standing Android issue. Attaching logs.\n\nSample code:\n\napp.js\n{code}\nvar win = Ti.UI.createWindow({\n\turl : 'win.js'\n});\n\nwin.open();\n{code}\n\nwin.js\n{code}\nvar win = Ti.UI.currentWindow;\n\nwin.backgroundColor = 'white'; // breakpoint\n{code}\n\nSteps to Reproduce:\n\n1. Run code (add breakpoint on specified line).\n\nActual Result:\n\nNothing happens.\n\nExpected Result:\n\nBreakpoint should be hit.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-09T00:15:08.000+0000", "updated": "2012-10-09T00:15:08.000+0000" }, { "id": "223673", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Suggested that this regression could be caused by https://github.com/appcelerator/titanium_mobile/commit/f029b6609c06aba8651f0f57296de04deb706f4f", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-15T21:44:15.000+0000", "updated": "2012-10-15T21:44:15.000+0000" }, { "id": "224127", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "master PR ready:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/3278", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-18T00:26:19.000+0000", "updated": "2012-10-18T00:27:42.000+0000" }, { "id": "224132", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "3_0_X PR ready:\n\nhttps://github.com/appcelerator/titanium_mobile/pull/3281", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-18T00:42:11.000+0000", "updated": "2012-10-18T00:42:11.000+0000" }, { "id": "230563", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on:\r\nTitanium Studio: 3.0.0.201211301903\r\nTitanium SDK:3.0.0.v20121204181658\r\niOS Simulator (v6.0), Android Emulator (v2.2), Samsung Galaxy Note (v2.3.6)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-08T10:21:05.000+0000", "updated": "2012-12-08T10:21:05.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }