NativeScript / ios-jsc

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

Debugging session hangs when evaluating a wrong expression #1201

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
  4. evaluate a wrongly defined statement - e.g. " (unterminated string)

=> debugging session becomes unresponsive

Expected behavior => The error that the statement causes should be displayed and further evaluation should be possible