ios-jsc
ios-jsc copied to clipboard
Chrome DevTools: App crashes on device (iOS 10.2.1) with --debug-brk when resume script execution
Environment
- CLI:
5.3.0-2019-03-25-13088
- Cross-platform modules:
5.2.2
- iOS Runtime:
5.3.0-rc-2019-03-26-093634-01
,5.2.0
,5.1.0
- nativescript-dev-webpack:
^0.21.0-rc-2019-03-21-194124-01
Describe the bug
App crashes on device with iOS 10.2.1 when run it with tns debug ios --debug-brk
To Reproduce
-
tns create TestAppNg --ng
-
tns debug ios --debug-brk
- Open URL in Chrome and wait to see the first break point
- Tap on Resume script execution button
Expected behavior Script execution to be executed and to be able to continue debugging the app
Sample project
Additional context This works for simulators and couldn't reproduce it on device with iOS 12.1.4 and 11.2.5
This is related to https://github.com/NativeScript/nativescript-cli/issues/4307 and actually, the fact that the app is not being terminated on iOS 11+ is a very good piece of news. 🎉