{ "id": "108010", "key": "TIMOB-12313", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14980", "description": "2013 Sprint 02 JS", "name": "2013 Sprint 02 JS", "archived": true, "released": true, "releaseDate": "2013-01-28" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-31T22:53:20.000+0000", "created": "2013-01-16T20:17:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios-debugger", "qe-port", "qe-sdk3.0.2", "regression" ], "versions": [ { "id": "14161", "description": "Release 3.0.1", "name": "Release 3.0.1", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [ { "id": "24720", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "107935", "key": "AC-2143", "fields": { "summary": "[ios] debugging broken in master", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "25023", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "108348", "key": "TIMOB-12364", "fields": { "summary": "CLI: iOS: build fails if using latest 3.0.2.v20130121114704 on iOS simulator", "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": "33912", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "79363", "key": "AC-2950", "fields": { "summary": "i get \"[ERROR] Error connecting to debugger: Error Domain=NSPOSIXErrorDomain Code=61\" error on xcode simulator or device build.", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "24722", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "107520", "key": "TIMOB-12241", "fields": { "summary": "CLI: iOS: myapp/build/iphone/Resources folder is redundant and unneeded", "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 } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-12-18T17:01:25.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "[ERROR] : \b\b \bError connecting to debugger: Error Domain=NSPOSIXErrorDomain Code=61 \"The operation couldn’t be completed. Connection refused\"\r\n\r\niOS Debugger fails to connect.\r\n\r\nLast working build: 3.0.1.v20130111154702\r\nFirst known failure: 3.0.1.v20130111162050\r\n\r\nSteps to Reproduce:\r\n\r\n1. Open Titanium Project.\r\n2. Insert code (with breakpoints):\r\n{code}\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');\r\n\r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup(); // breakpoint\r\n\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar label1 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 1',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin1.add(label1);\r\n\r\n//\r\n// create controls tab and root window\r\n//\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab2 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 2',\r\n window:win2\r\n});\r\n\r\nvar label2 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 2',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin2.add(label2);\r\n\r\n\r\n\r\n//\r\n// add tabs\r\n//\r\ntabGroup.addTab(tab1); \r\ntabGroup.addTab(tab2); \r\n\r\n\r\n// open tab group\r\ntabGroup.open();\r\n\r\nalert('SESSION ID: ' + Ti.App.sessionId); // breakpoint\r\nTi.API.error('SESSION ID: ' + Ti.App.sessionId);\r\nTi.API.error('ERROR => Ti.API.error');\r\nTi.API.log('ERROR', 'ERROR => Ti.API.log');\r\nTi.API.warn('WARN => Ti.API.warn');\r\nTi.API.log('WARN', 'WARN => Ti.API.log');\r\nTi.API.info('INFO => Ti.API.info');\r\nTi.API.log('INFO', 'INFO => Ti.API.log');\r\nTi.API.debug('DEBUG => Ti.API.debug');\r\nTi.API.log('DEBUG', 'DEBUG => Ti.API.log');\r\nTi.API.trace('TRACE => Ti.API.trace');\r\nTi.API.log('TRACE', 'TRACE => Ti.API.log');\r\nTi.API.log('FREEFORM', 'FREEFORM => Ti.API.log');\r\n\r\nvar x = 0; // breakpoint\r\nvar y = 0; // breakpoint\r\n{code}\r\n3. Run iOS Debugger.\r\n\r\nActual Result:\r\n\r\n[ERROR] : \b\b \bError connecting to debugger: Error Domain=NSPOSIXErrorDomain Code=61 \"The operation couldn’t be completed. Connection refused\"\r\n\r\nExpected Result:\r\n\r\nDebugger session connects.", "attachment": [ { "id": "34801", "filename": "console-log.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-16T20:17:55.000+0000", "size": 202548, "mimeType": "text/plain" } ], "flagged": false, "summary": "CLI: iOS Debugger: Error connecting to debugger: Error Domain=NSPOSIXErrorDomain Code=61", "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": "iPhone Simulator: 6.0\r\nXcode: 4.5.2\r\nTitanium SDK: 3.0.1.v20130111162050, 3.0.1.v20130116110202\r\nTitanium Studio: 3.0.0, 3.0.2.201301151708\r\nTitanium CLI: 3.0.22\r\nOS: Mountain Lion 10.8.2", "comment": { "comments": [ { "id": "234691", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If connection refused, then the socket server (TiStudio) was not listening.\nI don't see how it would break between 3.0.1.v20130111154702 and 3.0.1.v20130111162050\nSuggest to investigate as Studio issue.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-16T23:07:08.000+0000", "updated": "2013-01-16T23:07:08.000+0000" }, { "id": "234747", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The splash screen fix affected the debugger:\n\nhttps://github.com/appcelerator/titanium_mobile/commit/1eb9914025a69ea6c3414bc09240f195173e59de", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-17T10:08:25.000+0000", "updated": "2013-01-17T10:08:25.000+0000" }, { "id": "235011", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3743\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3744", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-19T15:07:15.000+0000", "updated": "2013-01-19T15:07:15.000+0000" }, { "id": "235400", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "CR & FR on master and backport PR ", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-22T21:58:05.000+0000", "updated": "2013-01-22T21:58:05.000+0000" }, { "id": "235438", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\nBug still exists in:\nTitanium Studio, build: 3.0.1.201212181159 \nTitanium SDK, build: 3.1.0.v20130114171802\n\nIt is fixed in:\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK, build: 3.0.2.v20130122151702", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T00:40:43.000+0000", "updated": "2013-01-23T00:40:43.000+0000" }, { "id": "235546", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.\r\nTitanium Studio, build: 3.0.1.201212181159 \r\nTested with latest master(commit 572dcc3fe2)\r\nXcode 4.5.2\r\nDevice:\r\niPhone4S 5.0.1 ", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T19:15:46.000+0000", "updated": "2013-02-01T19:14:17.000+0000" }, { "id": "236775", "author": { "name": "climbd", "key": "climbd", "displayName": "Trevor Borgmeier", "active": true, "timeZone": "America/Chicago" }, "body": "This appears to have reintroduced itself.\r\n\r\nI get the error for these...\r\n\r\n- 3.1.0.v20130129154205\r\n- 3.1.0.v20130130232607\r\n- 3.0.2.v20130129171611\r\n\r\nbut it works in these...\r\n\r\n- 3.1.0.v20130124121019\r\n- 3.0.2.v20130124114701", "updateAuthor": { "name": "climbd", "key": "climbd", "displayName": "Trevor Borgmeier", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-31T19:45:46.000+0000", "updated": "2013-01-31T19:45:46.000+0000" }, { "id": "236777", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as ReIntroduced:\r\n\r\nTitanium SDK: 3.0.2.v20130129171611\r\nOS: Mountain Lion 10.8.2\r\nXcode: 4.6\r\nTitanium CLI: 3.0.23", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-31T19:53:56.000+0000", "updated": "2013-01-31T20:13:07.000+0000" }, { "id": "236780", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also occurs with:\nCLI: 3.0.24 + Xcode 4.6\nAnd\nCLI: 3.0.24 + Xcode: 4.5.2\nIn this config, generally you don't get the error, but the breakpoints are ignored.\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-31T20:21:18.000+0000", "updated": "2013-01-31T20:21:18.000+0000" }, { "id": "236799", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3833", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-31T21:54:46.000+0000", "updated": "2013-01-31T21:54:46.000+0000" }, { "id": "236800", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "3_0_X pull request: https://github.com/appcelerator/titanium_mobile/pull/3834", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-31T21:56:17.000+0000", "updated": "2013-01-31T21:56:17.000+0000" }, { "id": "237244", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as fixed with:\n\nTiSDK 3.0.2.v20130201161712\nCLI 3.0.24\niPhone 4S 5.0.1\niPhone 5 6.1\nXcode 4.5.2 and 4.6", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-05T18:42:39.000+0000", "updated": "2013-02-05T18:42:39.000+0000" }, { "id": "237556", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.\r\nVerified fix with:\r\nTitanium Studio, build: 3.0.2.201302041757\r\nTitanium SDK, build: 3.0.2.v20130201161712\r\nXcode 4.6\r\n\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-07T00:08:49.000+0000", "updated": "2013-02-07T01:16:36.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }