{ "id": "102993", "key": "TIMOB-11407", "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-10-09T21:50:41.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:01.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": [], "description": "h3. Steps to Reproduce\r\n# Create a project and place a breakpoint in a click event handler.\r\n# Debug on an Android Device.\r\n# Trigger the event handler.\r\n# Wait for a minute or so in paused state.\r\n\r\n\r\nh3. Actual Result\r\nAfter a brief pause, the current window disappears, leaving the splash screen showing, and the app shows up as terminated in the Debug view.\r\n\r\nh3. Expected Result\r\nApplication pauses normally, as in iOS.\r\n\r\nh3. Test Code\r\n\r\n{code:title=app.js}\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar label1 = Titanium.UI.createLabel({\r\n\ttext:'Click Me',\r\n});\r\n\r\nwin1.add(label1);\r\nlabel1.addEventListener('click', function(e) {\r\n\tTi.API.info(\"We got this far!\");\r\n});\r\nwin1.open();\r\n{code}", "attachment": [ { "id": "32473", "filename": ".log", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-09T21:50:43.000+0000", "size": 3380762, "mimeType": "application/octet-stream; charset=ISO-8859-1" }, { "id": "32476", "filename": "debugger_crash_log.txt", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-09T22:01:25.000+0000", "size": 11050, "mimeType": "text/plain" }, { "id": "32474", "filename": "diagnostic3189650153763359221.log", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-09T21:50:45.000+0000", "size": 12641, "mimeType": "application/octet-stream; charset=ISO-8859-1" } ], "flagged": false, "summary": "Debug on Android Device crashes in breakpoint after a brief wait", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 3.1.0.201210092445\r\nTitanium SDK, build: 3.0.0.v20121009034227\r\nDevice: Samsung Galaxy S2, Android 2.3.6", "comment": { "comments": [ { "id": "222792", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Android log output.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-09T22:01:25.000+0000", "updated": "2012-10-09T22:01:25.000+0000" }, { "id": "222793", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Might be an SDK issue, not sure...", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-09T22:02:19.000+0000", "updated": "2012-10-09T22:02:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }