[TIMOB-18258] iOS: Breakpoints in files that are included in app.js causes the app to crash
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-01-05T19:36:15.000+0000 |
Affected Version/s | Release 3.5.0 |
Fix Version/s | Release 3.5.0, Release 4.0.0 |
Components | iOS |
Labels | qe-3.5.0, qe-manualtest, regression |
Reporter | Visalakshi Chidambaram |
Assignee | Pedro Enrique |
Created | 2014-12-18T07:59:07.000+0000 |
Updated | 2015-01-27T17:20:46.000+0000 |
Description
This is a regression as the app can be successfully debugged using titanium sdk 3.4.1 GA.
When a file is included in app.js and breakpoints are placed in the included file, the app crashes and hence unable to debug successfully.
Steps to reproduce:
1. Close any running emulators or simulators.
2. Import and open the attached project into studio
3. From Titanium Studio go to Debug perspective (Window > Open perspective > Debug)
4. In the Breakpoints view, Remove All existing breakpoints
5. Go to file -> import -> select breakpoints under Run/Debug and click next
6. Browse to breakpoint-basic.bkpt in Test File Location
7. Debug the test project.
Actual Results:
App 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.
Expected Results:
App should be installed, and when the app connects to debugger, the app should be suspended at the breakpoint in import.js line 6.
Attachments
This was resolved as part of TIMOB-17924.
This looks fixed on devices, however I am still encountering the described behavior on simulator, using: Titanium SDK 3.5.0.v20150106102524 Studio 3.4.1.201410281743 Xcode 6.1.1 On: iPad Air, iOS 8.1 iPhone 6 Sim, iOS 8.1 iPhone 4S Sim, iOS 8.1 I do not see any messages on screen, but the app returns to the home screen after displaying the splash screen. This is in the console:
Verified with the following environment: Titanium SDK: 3.5.0.v20150106224118 Appc-Studio: 3.4.1.201410281743 Titanium CLI: 3.4.1 Alloy : 1.5.1 GA Xcode : 6.1 OS: OSX 10.10.1 Device : iPad Air 2 (iOS 8.1), iPhone 4s, iPhone6 and iPhone 6 plus simulators (iOS 8.1)
Just a note that i'm also seeing this error, and I am not using any breakpoints, and running from CLI. ``
[DEBUG] [ioslib] [ios-sim] [DEBUG] Session did end with error (null) [DEBUG] [ioslib] [ios-sim] [DEBUG] Removing named pipe at
/var/folders/gr/mmkhk18s4t53hbjc9tpmt0cc0000gn/T//ios-sim-stderr-pipe-1422366114' [DEBUG] [ioslib] [ios-sim] [DEBUG] Removing named pipe at `/var/folders/gr/mmkhk18s4t53hbjc9tpmt0cc0000gn/T//ios-sim-stdout-pipe-1422366114' [DEBUG] [ioslib] [ios-sim] Exited with code: 0 {/code}[~pec1985] should we reopen this issue or create a new one?