NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore
http://docs.nativescript.org/runtimes/ios
Apache License 2.0
298 stars 59 forks source link

App hangs when it crashes while being debugged #1200

Closed mbektchiev closed 5 years ago

mbektchiev commented 5 years ago

Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

To Reproduce

  1. Create JS app that throws new Error(); on a button click
  2. tns debug ios on device or simulator
  3. tap on the button

=> app hangs without any obvious reason

Expected behavior => app hangs, but logs a descriptive message which explains that it's on purpose (namely to not suddenly terminate the active session)