RFR: JDK-8131929: Add option for debuggable scopes

Attila Szegedi attila.szegedi at oracle.com
Fri Oct 9 13:36:14 UTC 2015


+1; very elegant solution! Just marking in the parser every function as “containing eval”, since debugging can be considered from the point of view of the debugged program as “anything can be eval()'d anytime, anywhere”).

Attila.

> On Oct 9, 2015, at 3:01 PM, Hannes Wallnoefer <hannes.wallnoefer at oracle.com> wrote:
> 
> Please review JDK-8131929: Add option for debuggable scopes
> 
> http://cr.openjdk.java.net/~hannesw/8131929/
> 
> This contains a fair bit of cleanup (like putting most of Options.properties into lexicographical order). The actual change is pretty simple and consists of adding the --debug-scopes option and setting a flag in Parser.
> 
> Thanks,
> Hannes



More information about the nashorn-dev mailing list