On 29.01.2010 09:45, Vidar Ramdal wrote:
> 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 :)
>