Hi Cameron We're actually already providing support in the Eclipse e4 project for debugging Rhino however I'm fairly embarassed to say it's not documented at all well at this point in the release. http://wiki.eclipse.org/E4/JavaScript#JavaScript_Rhino_Debugging_Support
One thing worth adding is that although this work was originally done as part of e4 it will likely surface in the current Helios / 3.6 release of Eclipse in the JavaScript tooling. -Simon "Cameron McCormack" <[email protected]> wrote in message news:[email protected]... > Hi everyone. > > I spend a lot of my time debugging my project, which is written in a > combination of JS (compiled with jsc) and Java. It's great that stack > traces include entries that point to the relevant line of the JS file from > which the compiled bytecode came, but I would like to use an interactive > debugger. Using org.mozilla.javascript.tools.debugger is OK for pure JS > issues, but my code bounces around a lot between JS and Java. > > I'd love to be able to use Eclipse and have a unified stack of JS and Java > calls (like you see when you printStackTrace()) and be able to inspect JS > variables/objects when I'm viewing a JS stack frame. > > Is this possible currently? If not, any idea how difficult it would be to > achieve? (Not that I really have time to write the appropriate Eclipse > plugin or whatever would be required...) > > Thanks, > > Cameron _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
