{ "id": "100730", "key": "TIMOB-11373", "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": "14272", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-10T23:46:09.000+0000", "created": "2012-09-10T15:20:58.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android-device-debugger", "core", "qe-and100112" ], "versions": [], "issuelinks": [ { "id": "21906", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "103091", "key": "TISTUD-2467", "fields": { "summary": "Android Device Debugger: implement console output in studio", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "21746", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "102646", "key": "TISTUD-2388", "fields": { "summary": "Studio: \"Failed to execute runnable\" error appears while running app in debug mode on android device.", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "21053", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "101373", "key": "TISTUD-2290", "fields": { "summary": "iOS Device Debugging: no console output from device", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "21097", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "77638", "key": "TISTUD-501", "fields": { "summary": "Add Support for debugging on Android devices (tethered)", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "21889", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "94681", "key": "TISTUD-1891", "fields": { "summary": "Add CLI command support to run an Android project", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2013-01-09T15:29:54.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": [], "description": "Titanium Studio Console output fail to display output results.\r\n\r\nSteps to Reproduce:\r\n1. Create default project, add sample code:\r\n{code}\r\nTi.API.info('INFO LOGGED');\r\n{code}\r\n2. Run 'debug' on Android Device. Port forward message should appear on console.\r\n3. Launch app from device.\r\n\r\nActual Result:\r\nTitanium Studio console log fail to display the console output\r\n\r\nExpected Result:\r\nTitanium Studio console log display the console output as DDMS or Catlog.\r\n\r\n ", "attachment": [ { "id": "31147", "filename": "ddms_log.txt", "author": { "name": "psingh", "key": "psingh", "displayName": "Payminder Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-10T15:21:26.000+0000", "size": 422331, "mimeType": "text/plain" }, { "id": "31148", "filename": "log.txt", "author": { "name": "psingh", "key": "psingh", "displayName": "Payminder Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-10T15:21:26.000+0000", "size": 10419, "mimeType": "text/plain" }, { "id": "31149", "filename": "Screen Shot 2012-09-10 at 3.07.54 PM.png", "author": { "name": "psingh", "key": "psingh", "displayName": "Payminder Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-10T15:21:26.000+0000", "size": 73730, "mimeType": "image/png" } ], "flagged": false, "summary": "Android Device Debugging: console window fails to display console output after port forward", "creator": { "name": "psingh", "key": "psingh", "displayName": "Payminder Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "psingh", "key": "psingh", "displayName": "Payminder Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Studio: 3.0.0.201209081200\r\nSDK: 2.2.0.v20120910084912\r\nOS: OS (M.LION-10.8)\r\nDevice: Android (Samsung Galaxy S-III)\r\n", "closedSprints": [ { "id": 3, "state": "closed", "name": "Release 3.0.0", "startDate": "2012-09-27T05:26:46.636Z", "endDate": "2012-10-08T20:05:00.000Z", "completeDate": "2012-12-20T17:03:19.403Z" } ], "comment": { "comments": [ { "id": "219627", "author": { "name": "kasanbekov", "key": "kasanbekov", "displayName": "Kanat Asanbekov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reproducible\r\nTested on:\r\nTitanium Studio: 3.0.0.201209171527\r\nTitanium SDK: 3.0.0.v20120918143313\r\nOS: OS X 10.8 (Mountain Lion)\r\nDevice Tested: HTC EVO (4.0.3)", "updateAuthor": { "name": "kasanbekov", "key": "kasanbekov", "displayName": "Kanat Asanbekov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-18T17:31:01.000+0000", "updated": "2012-09-18T17:31:01.000+0000" }, { "id": "220011", "author": { "name": "psingh", "key": "psingh", "displayName": "Payminder Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There is no special setup required to get the 'port forward' message, it's just a debugging in device process.\r\n\r\nSame comment for TISTUD-2290\r\n", "updateAuthor": { "name": "psingh", "key": "psingh", "displayName": "Payminder Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-20T15:18:25.000+0000", "updated": "2012-09-20T15:19:40.000+0000" }, { "id": "220550", "author": { "name": "nle", "key": "nle", "displayName": "Nam Le", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I believe this is a platform issue. The log messages are not available via the debug process. The messages do appear in the log cat through. One thing to note is we follow the same process for connecting to the debug for iOS, and the log messages are available.", "updateAuthor": { "name": "nle", "key": "nle", "displayName": "Nam Le", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-24T23:43:36.000+0000", "updated": "2012-09-25T16:50:21.000+0000" }, { "id": "222162", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Need TISTUD-2388 in order to work on this.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-04T22:02:40.000+0000", "updated": "2012-10-04T22:02:40.000+0000" }, { "id": "222264", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Studio will also need to be changed, but we also had to change something to give studio the ability to see the logcat on device.\r\n\r\nh3. Testing Notes\r\n\r\nThis is for testing without Studio changes, to \"prove\" that our new builder.py command named \"logcat\" (which does nothing other than make the device/emulator's logcat available as a separate process available to Studio) works fine.\r\n\r\n# In a Terminal window, run the new builder.py like this: (You'll need to provide the path to the builder.py of course):\r\n{code}\r\n> builder.py logcat -d\r\n{code}\r\nSo for me, for example, I run:\r\n{code}\r\n> \"/Library/Application Support/Titanium/mobilesdk/osx/3.0.0/android/builder.py\" logcat /Users/bill/android/android-sdk-macosx -d\r\n{code}\r\n# The -d means device. You could alternatively make it -e for emulator or -s . \r\n# Leave it running.\r\n# Use Studio to install an app that contains a {{Ti.API.info(\"whatever you want\");}} statement in it on your attached device or running emulator.\r\n# Run the app on the device.\r\n# Check the terminal window that has logcat running -- it should show the info (or debug or whatever) statement.\r\n# Go to a separate Terminal window.\r\n# Run {{ps -e}} and find the PID of the python process running builder.py with the \"devicelog\" command.\r\n# Run {{kill -3 [pid]}}.\r\n# Switch back over to the Terminal window where logcat was running. It should show a message that a signal 3 was received and it was terminated.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-05T17:19:42.000+0000", "updated": "2012-10-05T23:12:41.000+0000" }, { "id": "223015", "author": { "name": "nle", "key": "nle", "displayName": "Nam Le", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopened the wrong ticket", "updateAuthor": { "name": "nle", "key": "nle", "displayName": "Nam Le", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-10T23:46:09.000+0000", "updated": "2012-10-10T23:46:09.000+0000" }, { "id": "223125", "author": { "name": "nle", "key": "nle", "displayName": "Nam Le", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Bill, this works fine, but can you return the messages from the builder.py process that launched the debug process? Currently studio has to hold on to two processes, one for the install on device and the other for logcat. The install on the device process does not output any messages.", "updateAuthor": { "name": "nle", "key": "nle", "displayName": "Nam Le", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T18:24:27.000+0000", "updated": "2012-10-11T18:24:27.000+0000" }, { "id": "223151", "author": { "name": "nle", "key": "nle", "displayName": "Nam Le", "active": false, "timeZone": "America/Los_Angeles" }, "body": "On further inspection, the Debug on emulator workflow is very similar, so this is fine", "updateAuthor": { "name": "nle", "key": "nle", "displayName": "Nam Le", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T20:12:54.000+0000", "updated": "2012-10-11T20:12:54.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }