ios-jsc icon indicating copy to clipboard operation
ios-jsc copied to clipboard

Chrome DevTools: App crashes on device (iOS 10.2.1) with --debug-brk when resume script execution

Open Natalia-Hristova opened this issue 5 years ago • 1 comments

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

  1. tns create TestAppNg --ng
  2. tns debug ios --debug-brk
  3. Open URL in Chrome and wait to see the first break point
  4. 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

Natalia-Hristova avatar Mar 26 '19 11:03 Natalia-Hristova

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. 🎉

mbektchiev avatar Mar 27 '19 07:03 mbektchiev