{ "id": "85361", "key": "AC-2936", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-04-12T19:22:47.000+0000", "created": "2012-01-24T10:03:20.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:55.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Add this line of code to a virgin app.js file:\r\n\r\n{code}\r\nvar scripts = document.getElementsByTagName('script');\r\n{code}\r\n\r\nDebug the app in the iPhone simulator. Debugging stops on that line, as expected. If you hit continue, however, there is no Application Exception displayed. To see what kind of error should have been triggered, use this code:\r\n\r\n{code}\r\nvar test1 = someVariablethatDoesntExist.doSomething();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: debugging fails for this code", "creator": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "environment": "OS X 10.7.2\r\nStudio 1.0.8\r\nSDK 1.8.1", "comment": { "comments": [ { "id": "190236", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "@Shannon Hicks Can you post what your console output is?\r\n\r\nAlso, what does \"hit continue\" meant? Did you press \"Resume\", \"Set Next statement\", \"Step into\", \"Step Over\"?", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-06T18:57:25.000+0000", "updated": "2012-04-06T18:57:25.000+0000" }, { "id": "190237", "author": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "body": "resume", "updateAuthor": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "created": "2012-04-06T18:58:46.000+0000", "updated": "2012-04-06T18:58:46.000+0000" }, { "id": "190349", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Thanks Shannon.\r\n\r\nSo can you confirm what your output console is?\r\n\r\nBesides what is the current iOS version (i.e. 4.3 / 5) that this was tested on?", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-09T11:32:26.000+0000", "updated": "2012-04-09T11:32:26.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }