{ "id": "102525", "key": "TIMOB-11233", "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": "14981", "description": "2013 Sprint 03 JS", "name": "2013 Sprint 03 JS", "archived": true, "released": true, "releaseDate": "2013-02-11" }, { "id": "14813", "description": "2013 Sprint 03", "name": "2013 Sprint 03", "archived": true, "released": true, "releaseDate": "2013-02-11" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-02-06T22:19:27.000+0000", "created": "2012-10-02T18:35:53.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "debugger", "ios-debugger", "ios-device-debugger", "qe-sdk3.0.2" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "21710", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "102526", "key": "TIMOB-11234", "fields": { "summary": "iOS: Device Debugger: Titanium SDK log messages print out of order", "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": "Low", "id": "4" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-03-27T22:31:05.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "During iOS device debugging, Titanium SDK log messages do not print to Xcode console, but they do print to Studio console.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Launch app in iOS device debug with code (insert breakpoint at last line to initiate debugger):\r\n\r\n{code}\r\nalert('SESSION ID: ' + Ti.App.sessionId); \r\nTi.API.error('SESSION ID: ' + Ti.App.sessionId); \r\nTi.API.trace('1A. TRACE'); \r\nTi.API.log('TRACE', '1B. TRACE'); \r\nTi.API.debug('2A. DEBUG'); \r\nTi.API.log('DEBUG', '2B. DEBUG'); \r\nTi.API.info('3A. INFO'); \r\nTi.API.log('INFO', '3B. INFO'); \r\nTi.API.warn('4A. WARN'); \r\nTi.API.log('WARN', '4B. WARN'); \r\nTi.API.error('5A. ERROR'); \r\nTi.API.log('ERROR', '5B. ERROR'); \r\nTi.API.log('CUSTOM', 'CUSTOM');\r\n\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000'); // breakpoint\r\n{code}\r\n\r\nActual Result:\r\n\r\nMessages print to Studio console, but not Xcode console.\r\n\r\nExpected Result:\r\n\r\nMessages print to Studio console AND Xcode console.", "attachment": [ { "id": "32210", "filename": "Xcode log with no device messages.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-02T18:35:53.000+0000", "size": 2238, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Device Debugger: Titanium SDK log messages do not print to Xcode console", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: 3.0.0.v20121002103353\r\nTitanium Studio: 3.0.0.201210012124\r\nOS: Mountain Lion 10.8.2\r\nXcode: 4.5\r\nDevice: iPad2 4.3.5, iPhone5 6.0, iPod 4.3.3", "comment": { "comments": [ { "id": "236630", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "What is the Xcode console?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-30T19:21:18.000+0000", "updated": "2013-01-30T19:21:18.000+0000" }, { "id": "236634", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The Device Console.\n\niOS bug, assigning to Max.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-30T19:39:42.000+0000", "updated": "2013-01-30T19:39:42.000+0000" }, { "id": "236639", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Dustin, this was made by design to avoid double logging during debugging. Always been there.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-30T19:49:34.000+0000", "updated": "2013-01-30T19:49:34.000+0000" }, { "id": "237507", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Max--is this a \"won't fix\"?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-06T21:27:52.000+0000", "updated": "2013-02-06T21:27:52.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }