{ "id": "81515", "key": "TIMOB-5748", "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": "12082", "description": "", "name": "Sprint 2011-42", "archived": true, "released": true, "releaseDate": "2011-10-24" }, { "id": "12470", "description": "", "name": "Release 1.7.4", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-25T12:51:46.000+0000", "created": "2011-10-13T11:29:24.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-testadded" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "22239", "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 } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-10-24T21:05:25.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": "h3. Problem\r\n\r\nDebugger in Android does not stop at the breakpoint that it's required by require(file.js)\r\n\r\nh3. Reproducible steps:\r\n \r\n1.Run the code below.\r\n2. Put a breakpoint on line 2 of lib.js and see if the debugger stops there when you scroll.\r\n\r\n \r\nh3. Expected behavior\r\n\r\nCustomer wants to stop on a breakpoint that it is required by require(file.js)\r\n\r\nh3. Additional Information:\r\n\r\nDebugger in iphone stops at the breakpoint that it's required by require(file.js), but not in Adroid.\r\n\r\nh3. Sample Code:\r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar lib = require('lib');\r\n\r\nvar container = Ti.UI.createScrollView({\r\n top:50,\r\n left:10,\r\n right:10,\r\n height:150,\r\n width:300,\r\n contentWidth:800,\r\n scrollType:'horizontal'\r\n});\r\n\r\ncontainer.addEventListener('scroll', lib.eventHandler);\r\n\r\ncontainer.add(Ti.UI.createLabel({width:800, height: 20,\r\n\ttext:'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor'}));\r\n\r\nwin.add(container);\r\nwin.open();\r\n{code}\r\n{code: title=lib.js}\r\nexports.eventHandler = function() {\r\n Ti.API.info('got scroll');\r\n}\r\n{code} \r\n\r\nh3. Helpdesk\r\nAPP-899229\r\n", "attachment": [], "flagged": false, "summary": "Android: Debugger in Android does not stop at the breakpoints that are required by (require(file.js) )", "creator": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 1.0.4.201108101535\r\nEmulator\r\n1.7.2 Titanium SDK\r\n1.7.3.v20111007133015\r\n1.8.0.v20110930164213 CI Build\r\nPlatform OS: Android\r\nPlatform OS Version: 2.3.3\r\n\r\n", "comment": { "comments": [ { "id": "170148", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/578", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-21T21:39:40.000+0000", "updated": "2011-10-21T21:39:40.000+0000" }, { "id": "179976", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "tested with 1.9.0.v20120119134634 with v8/rhino on 10.6.8 and Titanium Studio, build: 1.0.8.201201181442", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-19T17:13:05.000+0000", "updated": "2012-01-19T17:13:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }