{ "id": "141847", "key": "TIMOB-18258", "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-05T19:36:15.000+0000", "created": "2014-12-18T07:59:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.5.0", "qe-manualtest", "regression" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "44697", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "142726", "key": "TIMOB-18369", "fields": { "summary": "iOS: Stepping over does not work if breakpoints are in the file that is included in app.js.", "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-27T17:20:46.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": "This is a regression as the app can be successfully debugged using titanium sdk 3.4.1 GA.\r\n\r\nWhen a file is included in app.js and breakpoints are placed in the included file, the app crashes and hence unable to debug successfully.\r\n\r\nSteps to reproduce:\r\n1. Close any running emulators or simulators. \r\n2. Import and open the attached project into studio\r\n3. From Titanium Studio go to Debug perspective (Window > Open perspective > Debug) \r\n4. In the Breakpoints view, Remove All existing breakpoints \r\n5. Go to file -> import -> select breakpoints under Run/Debug and click next \r\n6. Browse to breakpoint-basic.bkpt in Test File Location \r\n7. Debug the test project. \r\n\r\nActual Results:\r\nApp is installed on to device, and when the app is launched when the studio prompts it tries to connect to debugger however it crashes immediately when it has connected.\r\n\r\nExpected Results:\r\nApp should be installed, and when the app connects to debugger, the app should be suspended at the breakpoint in import.js line 6.", "attachment": [ { "id": "53289", "filename": "debug_test.zip", "author": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-12-18T07:59:07.000+0000", "size": 3687659, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: Breakpoints in files that are included in app.js causes the app to crash", "creator": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Appcelerator Studio: 3.4.1.201410281743 \r\nTitanium SDK: 3.5.0.v20141217170926\r\nTitanium CLI: 3.4.1 \r\nAlloy: 1.5.1 \r\nOS: Mac OSX Yosemite 10.10 \r\nXcode 6.1", "comment": { "comments": [ { "id": "337874", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This was resolved as part of TIMOB-17924.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-05T19:36:05.000+0000", "updated": "2015-01-05T19:36:05.000+0000" }, { "id": "338047", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This looks fixed on devices, however I am still encountering the described behavior on simulator, using:\r\n\r\nTitanium SDK 3.5.0.v20150106102524\r\nStudio 3.4.1.201410281743 \r\nXcode 6.1.1\r\n\r\nOn: \r\niPad Air, iOS 8.1\r\niPhone 6 Sim, iOS 8.1\r\niPhone 4S Sim, iOS 8.1\r\n\r\nI do not see any messages on screen, but the app returns to the home screen after displaying the splash screen.\r\nThis is in the console:\r\n{code}\r\n[DEBUG] : [ioslib] [ios-sim] [DEBUG] set device to : iPad Air\r\n[DEBUG] : [ioslib] [ios-sim] [DEBUG] Session started\r\n[DEBUG] : [ioslib] [ios-sim] [DEBUG] Session did end with error (null)\r\n[DEBUG] : [ioslib] [ios-sim] [DEBUG] Removing named pipe at `/var/folders/v3/fx3x3sq94fngyrbcmtb9c1d40000gp/T//ios-sim-stderr-pipe-1420581576'\r\n[DEBUG] : [ioslib] [ios-sim] [DEBUG] Removing named pipe at `/var/folders/v3/fx3x3sq94fngyrbcmtb9c1d40000gp/T//ios-sim-stdout-pipe-1420581576'\r\n[DEBUG] : [ioslib] [ios-sim] Exited with code: 0\r\n[INFO] : Project built successfully in 32s 299ms\r\n{code}", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-06T22:06:12.000+0000", "updated": "2015-01-06T22:06:12.000+0000" }, { "id": "338146", "author": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Verified with the following environment:\r\n\r\nTitanium SDK: 3.5.0.v20150106224118\r\nAppc-Studio: 3.4.1.201410281743\r\nTitanium CLI: 3.4.1\r\nAlloy : 1.5.1 GA \r\nXcode : 6.1 \r\nOS: OSX 10.10.1 \r\nDevice : iPad Air 2 (iOS 8.1), iPhone 4s, iPhone6 and iPhone 6 plus simulators (iOS 8.1)", "updateAuthor": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-07T09:16:53.000+0000", "updated": "2015-01-07T09:16:53.000+0000" }, { "id": "340746", "author": { "name": "swanify", "key": "swanify", "displayName": "Matthew Lanham", "active": true, "timeZone": "Europe/London" }, "body": "Just a note that i'm also seeing this error, and I am not using any breakpoints, and running from CLI.\r\n\r\n{code:js}\r\n[DEBUG] [ioslib] [ios-sim] [DEBUG] Session did end with error (null)\r\n[DEBUG] [ioslib] [ios-sim] [DEBUG] Removing named pipe at `/var/folders/gr/mmkhk18s4t53hbjc9tpmt0cc0000gn/T//ios-sim-stderr-pipe-1422366114'\r\n[DEBUG] [ioslib] [ios-sim] [DEBUG] Removing named pipe at `/var/folders/gr/mmkhk18s4t53hbjc9tpmt0cc0000gn/T//ios-sim-stdout-pipe-1422366114'\r\n[DEBUG] [ioslib] [ios-sim] Exited with code: 0\r\n{/code}", "updateAuthor": { "name": "swanify", "key": "swanify", "displayName": "Matthew Lanham", "active": true, "timeZone": "Europe/London" }, "created": "2015-01-27T13:45:18.000+0000", "updated": "2015-01-27T13:45:18.000+0000" }, { "id": "340777", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~pec1985] should we reopen this issue or create a new one?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-27T17:20:46.000+0000", "updated": "2015-01-27T17:20:46.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }