You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Alasdair McLeay <dj...@gmail.com> on 2015/01/14 11:25:01 UTC

Is Sling's JavaScript debugger broken?

Hi,

I'm having trouble getting the Rhino JavaScript debugger in Sling to work
(part of org.apache.sling.scripting.javascript).

I can get the Swing window to load up (by setting
org.apache.sling.scripting.javascript.debug=true) but the debugger seems to
jump to random parts of the code when stepping through. The JavaScript I'm
trying to debug is stored in the JCR.

Does anyone else have this working? I also have a stackoverflow question up
at
http://stackoverflow.com/questions/27927669/is-slings-javascript-debugger-broken
.

Thanks,
Ali