Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Cannot embed RhinoDebugger to Java project(No way to add dependency for RhinoDebugger to a Java project)
Cannot embed RhinoDebugger to Java project [message #1752084] Wed, 18 January 2017 16:39
Eric Buist is currently offline Eric BuistFriend
Messages: 5
Registered: March 2010
Junior Member
Hi,

I am trying to implement debugging facilities in an application using Javascript as an extension mechanism. The application embeds Rhino as Javascript engine. The page https://wiki.eclipse.org/JSDT/Debug/Rhino/Embedding_Rhino_Debugger lets me believe it is possible to attach a RhinoDebugger to a Rhino context factory, which would then allow to debug any script executed by Rhino from within Eclipse.

However, Java cannot resolve RhinoDebugger class. I figured out this class is not part of Rhino but another package. However, I cannot find this package anywhere. Best would be to refer to that JAR through my project's Maven POM file. I found Maven coordinates on mvnrespository.com that looked promising, but they don't work (anymore).

<!-- https://mvnrepository.com/artifact/org.eclipse.wst.jsdt.debug/rhino.debugger -->
<dependency>
<groupId>org.eclipse.wst.jsdt.debug</groupId>
<artifactId>rhino.debugger</artifactId>
<version>1.0.300.v201109150503</version>
</dependency>

As a last resort, at least for proof of concept, I tried getting a JAR that would include the debugger, to no avail.

I tried getting the team project from http://www.eclipse.org/webtools/jsdt/debug/, but import process asks for a CVS password on dev.eclipse.org.

Is it because these Rhino debugging facilities are now outdated and not available anymore? Could be well possible since Java 8 switched to Nashroom. What can I use to debug embedded Javascript then? Would I get more luck with another Javascript engine? I have no plans to switch engine for now, but if another engine would ease debugging, that could be an argument in favor of a switch.

Thanks for any help.
Previous Topic:JSDT
Next Topic:Adding new server
Goto Forum:
  


Current Time: Sat Jul 21 04:06:40 GMT 2018

Powered by FUDForum. Page generated in 0.01449 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top