{ "id": "102526", "key": "TIMOB-11234", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "89173", "key": "TIMOB-8424", "fields": { "summary": "Ti API: Define cross platform logging API", "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 } } }, "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-08-24T21:59:21.000+0000", "created": "2012-10-02T18:39:52.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "debugger", "ios-device-debugger" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "52536", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "136209", "key": "TISTUD-6903", "fields": { "summary": "iOS: Console logs are not in an order as we instructed in app.js file for iOS Simulators", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "21710", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "102525", "key": "TIMOB-11233", "fields": { "summary": "iOS: Device Debugger: Titanium SDK log messages do not print to Xcode console", "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 } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T22:46:26.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 in order.\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 out of order. See attached log.\r\n\r\nExpected Result:\r\n\r\nMessages print in order.", "attachment": [ { "id": "32212", "filename": "iOS Device Debugger Console Log Prints Out of Order.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-02T18:42:42.000+0000", "size": 1834, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Device Debugger: Titanium SDK log messages print out of order", "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": "394303", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TISTUD-6903.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-24T21:59:21.000+0000", "updated": "2016-08-24T21:59:21.000+0000" }, { "id": "415496", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:46:26.000+0000", "updated": "2017-03-23T22:46:26.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }