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

Investigate possibility to coalesce eval scripts #14

Closed provegard closed 7 years ago

provegard commented 7 years ago

Nashorn may recompile an evaluated script and that results in a new reference type with a type name that doesn't match the old one. By comparing script contents and Location instances, it may be possible to coalesce two "related" eval scripts.