Hi, On 28.01.2010 20:30, Vidar Ramdal wrote: > Is anyone using this with Sling? > There seems to have been some interest in it, e.g. SLING-678 [1] but > I'm not finding any real usage examples. > If anyone has experience in using the debugger with ESP scripts, I'd > be interested in learning about it.
SLING-678 introduced a framework property to launch the debugger on the server as soon as the Rhino ScriptEngineFactory is started. This is a quick hack solution to be able to debug scripts. Yet, this is of course not very scalable. A few years back we had an implementation of a remote debugging support for Rhino, but this was for the old Rhino Debugging API and is probably not compatible any more. I think, it would be nice addition to have some support for remote Rhino debugging. I once dreamed of an Eclipse plugin which hooks into the launching infrastructure to be able to remote debug Rhino just like Java can be remotely debugged..... Regards Felix