|Re: [wtp-dev] Nashorn Debugging|
On 15 Mar 2015, at 9:27, Harald Wellmann wrote:
Yes, it's a normal JDI connection. And it doesn't "just work", I'm afraid, nor do I see why it might. I don't know how it works with JSPs. Do compiledJSP classes contain a stratum with JSP line info?
Yes, the sourcelocation info on class'es would have a filename:linenumber piece of info.
Nashorn script classes only contain a Java stratum, as far as I can tell.
Yeah, I tried googling and apparently nashorn doesn't fit as smooth as rhino did.
I'm still looking and will ask around but I did find this jira: https://bugs.openjdk.java.net/browse/JDK-8044798 which talks about jdk.nashorn.internal.runtime.DebuggerSupport being what is supposed to be used
for external debuggers. I think thats what netbeans/intellij uses - but i'm not sure. /max
Back to the top