currently i dont think you can really connect (thats remote debug) to your
rhino engine
By default if you want to run a js file you can say debug that js file and
then dltk will just do that

If you want to debug remotely a rhino engine that is there running then you
need to patch the dltk to support that
I have already that patch an bit old version is here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=221825

that is currently not in the dltk because it is kind of an hack on top of
it.
And it is working for us now

But to connect to a rhino debug eninge you will need the:
org.eclipse.dltk.javascript.rhino.dbgp

plugin/jar besides your rhino code. Because that is the debugger
implementation.
see for example DefaultRhinoRunner what is exactly does.

johan





On Wed, May 13, 2009 at 12:54, Colin Fraser <[email protected]> wrote:

> Hi Scott,
>
> I am in a similar situation - I've tried using the DLTK stuff but I don't
> see how to connect it to my embedded Rhino engine.  Did you manage to make
> any progress with DLTK?  If so have you any tips or useful links for
> getting
> it running?
>
> I have successfully used the standard Rhino debugger and that works well
> but
> it would be nice if it debugging was integrated with the Eclipse IDE.
>
> Thanks,
>
> Colin
>
> "SCWells72" <[email protected]> wrote in message
> news:[email protected]...
>  On May 1, 4:34 pm, Johan Compagner <[email protected]> wrote:
> > The dltk project of eclipse has also a javascript debugger for rhino
> > (and the rest like editor/formatter)
>
> Thanks.  I just installed DLTK and am trying to figure out exactly how
> to get started with it.  I've scanned the DLTK site and can't find
> anything about how I could wire up remote debugging using DLTK against
> a Rhino engine running elsewhere.  Cursory searching makes it sound
> like this might be possible.  Any tips on how to get going there?
>
>
> _______________________________________________
> dev-tech-js-engine-rhino mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
>
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to