Community
Participate
Working Groups
I am working on code that is a mix of Java and JavaScript using Java 8 nashorn. My starter class is a Java class that calls JavaScript code in the nashorn engine. I launch the Java debugger for my java class and breakpoints in java are honored, but any breakpoints in my JavaScript code are not. IntelliJ and Netbeans support Java/JavaScript debugging, I found this discussion on the group http://eclipse.1072660.n5.nabble.com/Nashorn-Debugging-td173361.html I looked for an exsisting bug but could not find one. Here is an example of what I am attempting to do https://blog.jetbrains.com/idea/2014/03/debugger-for-jdk8s-nashorn-javascript-in-intellij-idea-13-1/
There also is no Javascript source display for Nashorn stackframes. Sigh, IDEA has this since 2014 ...
For reference, there was a discussion about this in wtp-dev: https://dev.eclipse.org/mhonarc/lists/wtp-dev/msg09176.html Someone seemed to have started an implementation, but things got stuck somewhere. And just to mention, Netbeans does support it as well: https://blogs.oracle.com/geertjan/entry/youtube_debugger_for_jdk8_s