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.

Bug 249034 - Stop on Nashorn exceptions
Summary: Stop on Nashorn exceptions
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-01 12:00 UTC by Jaroslav Tulach
Modified: 2017-04-21 12:17 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2014-12-01 12:00:03 UTC
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.
Comment 1 Jaroslav Tulach 2016-05-25 06:09:21 UTC
Ping?
Comment 2 Jaroslav Tulach 2017-04-21 12:17:38 UTC
Pong?