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

Support viewing a big array in the console #76

Closed provegard closed 6 years ago

provegard commented 6 years ago

Given an array with 1000 elements, expanding the preview in the console results in nothing since DevTools sends ES6 code (with a generator function) which Nashorn doesn't support. Exceptions are suppressed in this case so the result is undefined.