provegard / ncdbg

A debugger for Nashorn that uses Chrome DevTools as frontend
BSD 3-Clause "New" or "Revised" License
31 stars 5 forks source link

Less verbose error messages #92

Closed provegard closed 6 years ago

provegard commented 6 years ago

For example, when evaluating a variable that doesn't exist:

ReferenceError: "fooqwer" is not defined jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "fooqwer" is not defined
    at <program> (<eval>:1)
    at main (file:/c:/kod/projects/nashorn-debugging/debugee/scripts/script.js:13)

The ECMAException part is redundant.