This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It is rare to thrown an exception in a JavaScript code. Usually that signals real problem in the user code. Stopping the mixed Nashorn/Java debugging at that point would significantly improve recovery from such errors as one could easily inspect the state of the application stack. Stop on JavaScript 'throw' statement when running in Nashorn. To achieve the same I was creating a method breakpoing on all methods of **.ECMAErrors class which seems to work OK at least on some versions of Nashorn.
Ping?
Pong?