I'd appreciate being pointed in the right direction for how to get
started on setting up my environment to use Eclipse JavaScript DLKT.
Thanks.
To add a little more detail, here is a link to how narwhal starts up
on rhino: http://github.com/tlrobinson/narwhal/blob/master/engines/rhino/bin/narwhal-rhino
[1]:http://github.com/tlrobinson/narwhal/blob/
536c7e8d1224bfbe963b50955e2ec7c938bd1f56/engines/rhino/bootstrap.js
[2]:http://www.mynajs.org
> on rhino:http://github.com/tlrobinson/narwhal/blob/master/engines/rhino/bin/na...
We use this setup but we have a slightly patched version to be able to
remote connect to it.
> _______________________________________________
> dev-tech-js-engine-rhino mailing list
> dev-tech-js-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
>
This is the command it executes:
"C:\Program Files\Java\jre1.6.0\bin\javaw.exe" -
agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:52926 -
classpath C:\Users\Nathan\.eclipse
\org.eclipse.platform_3.5.0_1709980481\plugins
\org.eclipse.dltk.javascript.rhino_1.0.0.v20090528-1923.jar;C:\Users
\Nathan\.eclipse\org.eclipse.platform_3.5.0_1709980481\plugins
\org.eclipse.dltk.javascript.rhino.dbgp_1.0.0.v20090528-1923.jar
RhinoRunner C:/Users/Nathan/workspace/QA/src/script/run.js
This is what is in my arguments box:
-cp "c:\working\narwhal\engines\rhino\jars\js.jar;c:\working\narwhal
\engines\rhino\jars\jline.jar;c:\working\narwhal\engines\rhino\jars
\jna.jar;c:\working\narwhal\packages\jack\jars\simple-4.1.10.jar"
"org.mozilla.javascript.tools.shell.Main" -version "170" "c:\working
\narwhal\engines\rhino\bootstrap.js" narwhal "script\run"
I'm not really having any luck.
Johan, are you saying that if I just include
org.eclipse.dltk.javascript.rhino.dbgp in my narwhal project, I can
start it then connect with the debugger through Eclipse? How would I
connect to the remote process?
> > dev-tech-js-engine-rh...@lists.mozilla.org
> >https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
Do you mean a patched version of Eclipse or a patched version of DLTK?
Care to share your patched version?
that is the patch i use, its on a bit older build
But yes you have to include the dbgp project because thats the debugger
implementation.,