nashorn's engine debugging API

Jim Laskey (Oracle) james.laskey at
Fri Feb 27 13:33:19 UTC 2015


I did a demo at JavaOne in 2013 using Nashorn to debug Nashorn.  The app was called Askari, after the birds you see picking bugs off the backs of rhinoceros.

-------------- next part --------------

cd .../askari/src
jjs -cp ../lib/tools.jar -scripting -fx askari.js

You should be able to load a small script (use open door), set breakpoints (click on dimmed stop sign), step and view values. 


-- Jim

> On Feb 27, 2015, at 9:18 AM, Clément Fauconnier <fc86 at> wrote:
> Dear Jim Laskey
> Following the discussion started on Twitter, I would like to have more details about this API you talked about.I started doing the exactly same thing adapting JVMDI tty to my needs but it was too complicated so I change my approach before viewing how to interact with nashorn "compiled" js.
> So, I'm really interested to your example. 
> Thanks in advance for your reply.
> Clément Fauconnier.  		 	   		  

More information about the nashorn-dev mailing list