{ "id": "122640", "key": "TIMOB-15805", "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": "15711", "description": "2013 Sprint 24", "name": "2013 Sprint 24", "archived": true, "released": true, "releaseDate": "2013-11-29" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-12-06T22:39:13.000+0000", "created": "2013-11-19T11:23:39.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.2.0" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-12-06T22:39:14.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": "12305", "name": "Core", "description": "Central component of the Platform (outside of Tooling, or platform specific implementation details)" } ], "description": "Debugger not working for Android Device.\r\n\r\nSteps to reproduce:\r\n1. Create new classic/alloy Project.\r\n2. Add breakpoint at proper place.\r\n3. Debug the app on device.\r\n\r\nExpected Result:\r\nMust hit the breakpoint and app must be launched successfully.\r\n\r\nActual Result:\r\nBuild Failed with logs and screenshot attached.", "attachment": [ { "id": "44006", "filename": "debugger failed.png", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T11:23:39.000+0000", "size": 402603, "mimeType": "image/png" }, { "id": "44007", "filename": "debugger fails - console file.txt", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T11:23:39.000+0000", "size": 179580, "mimeType": "text/plain" }, { "id": "44008", "filename": "Debuggerfails - log file.txt", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T11:23:39.000+0000", "size": 4791, "mimeType": "text/plain" } ], "flagged": false, "summary": "Ubuntu 12.04 : Debugger Not working for Android Device", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Test Environment:\r\nAppcelerator Studio, build: 3.2.0.201311161724\r\nsdk-3.2.0.v20131118211643\r\nacs@1.0.7\r\nalloy@1.3.0\r\nnpm@1.3.2\r\ntitanium@3.2.0-alpha\r\ntitanium-code-processor@1.1.0-alpha\r\nOS:Ubuntu 12.04\r\nDevice:Google Nexus 7(v4.3)", "closedSprints": [ { "id": 23, "state": "closed", "name": "2013 Sprint 24", "startDate": "2013-11-19T19:13:36.746Z", "endDate": "2013-12-01T19:13:36.746Z", "completeDate": "2013-12-03T18:22:18.452Z" } ], "comment": { "comments": [ { "id": "280787", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I tested debugging on Android emulator on Linux and was able to get it to work. I don't have an Android device to verify with, so we'll likely need someone in the office to try this out (like QE!).", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2013-11-22T20:29:57.000+0000", "updated": "2013-11-22T20:29:57.000+0000" }, { "id": "280788", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "[~emerriman] Can someone in QE with access to a Linux machine and an Android device try to reproduce this? Looking at the error, it looks like there was some sort of issue where the app was uninstalled before being run or something.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2013-11-22T20:32:17.000+0000", "updated": "2013-11-22T20:32:17.000+0000" }, { "id": "280864", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "As I tried to debug into the Linux machine for Android debugging issue, I have noticed that the Application Installer failed due to the below exception. This might be probably causing the android debugging failure on Windows : \n\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184\n throw e;\n ^\nTypeError: Object # has no method 'setRawMode'\n at Text._get (/home/labuser/.titanium/mobilesdk/linux/3.2.0.v20131122172908/node_modules/fields/lib/prompter.js:313:16)\n at Text.prompt (/home/labuser/.titanium/mobilesdk/linux/3.2.0.v20131122172908/node_modules/fields/lib/types/text.js:19:7)\n at /usr/local/lib/node_modules/titanium/lib/cli.js:946:12\n at conf.options.key-password.prompt (/home/labuser/.titanium/mobilesdk/linux/3.2.0.v20131122172908/android/cli/commands/_build.js:559:8)\n at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:938:9)\n at q.process (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:728:21)\n at processImmediate (timers.js:330:15)\n[ERROR] Application Installer abnormal process termination. Process exit value was 8\n[1mWhat is the keystore's [22m [36mkey password [39m [1m? [90m(leave blank to use the store password) [39m [22m: ", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-23T04:03:17.000+0000", "updated": "2013-11-23T04:03:17.000+0000" }, { "id": "281328", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I tested this on Ubuntu 13.04, Studio 3.2.0.201311221859, CLI 3.2.0 (master), Ti SDK 3.2.0.v20131125103938 with a Samsung Galaxy X4 and it works just fine.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-26T01:07:47.000+0000", "updated": "2013-11-26T01:07:47.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }