On Thu, Jan 28, 2010 at 8:56 PM, Felix Meschberger <[email protected]> wrote:
> 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.

Yes, I got the debugger console running, but now what?
When I try to open any ESP file with it, it always fails with a syntax
error - I guess the debug console don't support the script delimiters
(<% %>)?

> 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.....

Sounds like a nice dream :)

-- 
Vidar S. Ramdal <[email protected]> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 21 531941, ext 2070

Reply via email to