Re: A question about Nashorn and Netbeans debugger

2015-11-25 Thread Sundararajan Athijegannathan
I reproduced it with NetBeans 8.1 as well and filed a bug: https://netbeans.org/bugzilla/show_bug.cgi?id=256771 Again, the workaround (to put bkpt in Java "eval" call and repeated F7) works with NetBeans 8.1 as well. Thanks, -Sundar On 11/25/2015 11:27 AM, Sundararajan Athijegannathan wrote:

Re: A question about Nashorn and Netbeans debugger

2015-11-24 Thread Sundararajan Athijegannathan
Hi Dina, I used NetBeans 8.0.2 and jdk 8 update 65 on Windows 7. I think I managed to reproduce the issue you described. Steps I used are as follows: 1) create a new NB project called "script_sample" with one Main.java in it as source: import javax.script.*; public class Main { public

A question about Nashorn and Netbeans debugger

2015-11-24 Thread Dina Farbman
Hi nashorn-dev, I'm relatively new to Nashorn. I work on a java 8 application that needs to run server side javascript scripts using Nashorn. The java code runs the scripts at certain points using nashorn's eval function, like this: SimpleBindings simpleBinding= new SimpleBindings();

Re: A question about Nashorn and Netbeans debugger

2015-11-24 Thread Jim Laskey (Oracle)
Dian, We’ll dive in for you, but the debugger expert (Sunder) will be signing off soon. He’ll pick it up tomorrow. Cheers, - Jim > On Nov 24, 2015, at 12:03 PM, Dina Farbman > wrote: > > Hi nashorn-dev, > I'm relatively new to Nashorn. > I work on a java 8 application that needs to run s