Clément,

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.



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. 

Cheers,

-- Jim



> On Feb 27, 2015, at 9:18 AM, Clément Fauconnier <[email protected]> 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.                                     

Reply via email to