Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] Re: Rhino debugger against embedded engine

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 <cfraser@xxxxxxxxxxxxx> 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" <scottwells@xxxxxxxxx> wrote in message
news:559e5c66-4268-4e93-8c7b-9c23591fac58@xxxxxxxxxxxxxxxxxxxxxxxxxx...
On May 1, 4:34 pm, Johan Compagner <jcompag...@xxxxxxxxx> 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
dev-tech-js-engine-rhino@xxxxxxxxxxxxxxxxx
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino


Back to the top