{ "id": "142309", "key": "TIMOB-18309", "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": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-01-07T22:09:06.000+0000", "created": "2015-01-06T07:53:55.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.5.0", "regression" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "44494", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "141827", "key": "TIMOB-18253", "fields": { "summary": "iOS: Debugger crashed when the variable value is changed to random object", "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": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-01-07T22:09:06.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": "When variable is changed to another object variable, It doesn't show its properties in debug variable view. Please see the attachment to see the variables view in Studio.\r\nh6. It's a regression since it works in 3.4.1 GA\r\n\r\nh5. Steps to reproduce\r\n1. Create a classic project\r\n2. Copy following code in app.js file\r\n{code}\r\nvar y = {foo:'bar'};\r\n\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar b = Ti.UI.createButton({\r\n\ttitle:\"Shadowing\",\r\n\twidth:140,\r\n\theight:40,\r\n\ttop:260\r\n});\r\nb.addEventListener('click',function() {\r\n\tvar x = \"foo\";\r\n\tTi.API.info(\"Shadow x: \"+x);\r\n});\r\nwin.add(b);\r\nwin.open();\r\n{code}\r\n3. Place a breakpoint in line 15 ( @ var x = \"foo\"; statement)\r\n4. Debug in iOS device\r\n5. Press the \"Shadowing\" button to trigger the breakpoint\r\n6. In the Variables pane, change value of x to y (not string; variable) by double-clicking in the Value column\r\n {noformat} x should display [object Object]. It works! {noformat}\r\n7. Expand the x\r\n\r\nh5. Actual Result.\r\n{noformat} x doesn't have property foo inside it. Please see the screenshot for more info. {noformat}\r\n\r\nh5. Expected Result\r\n{noformat} x should have [object Object] with foo == bar {noformat}", "attachment": [ { "id": "53410", "filename": "Screen Shot 2015-01-06 at 3.49.31 PM.png", "author": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-06T07:53:55.000+0000", "size": 32587, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Debug - Variable changed to another object variable doesn't show its properties in variables view", "creator": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Titanium SDK: 3.5.0.v20141222103320\r\nAppc-Studio: 3.4.1 GA\r\nTitanium CLI: 3.4.1 GA\r\nAlloy : 1.5.1 GA\r\nXcode : 6.1\r\nOS: OSX 10.10.1\r\nDevice : iPhone 6plus (iOS 8.1)", "closedSprints": [ { "id": 291, "state": "closed", "name": "2015 Sprint 01 SDK", "startDate": "2015-01-03T01:00:00.000Z", "endDate": "2015-01-17T01:00:00.000Z", "completeDate": "2015-01-19T17:24:40.828Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "338042", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/6543\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6542\r\n\r\nhttps://github.com/appcelerator/titanium_debugger/pull/22", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-06T21:44:03.000+0000", "updated": "2015-01-06T21:44:03.000+0000" }, { "id": "338108", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified that if a variable is changed to an object variable in the Variable pane, then the properties will appear.\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 3.4.1.201410281743\r\nSDK build: 3.5.0.v20150106150919\r\nCLI: 3.4.1\r\nAlloy: 1.5.1\r\nXcode: 6.2 beta 3\r\nDevices: iphone 6 plus (8.1.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-07T01:57:08.000+0000", "updated": "2015-01-07T01:57:08.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }