Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Debugging: source lookup for dynamically compiled & loaded classes
Debugging: source lookup for dynamically compiled & loaded classes [message #1755355] Thu, 02 March 2017 15:37
Witold Rojek is currently offline Witold RojekFriend
Messages: 3
Registered: March 2017
Junior Member
Hello,

I'm currently trying to solve a peculiar problem.

We are using Eclipse to write groovy scripts, which are installed in a database of an enterprise application running in Tomcat. The application is provided to us, so we are not developing it, merely modifying its behaviour via configuration and scripts. Those scripts are dynamically compiled and loaded by the said application.

We can remotely debug the application, we can set breakpioints in the scripts and everything works fine. The only problem is that eclipse refuses to lookup the sources no matter where we put them in the project and how we configure the lookup paths.

The problem was described in detail on Stack Overflow some 3 years ago and there seemd to be no solution to it:

Title of StackOverflow post:
Understanding Eclipse debug source lookup with dynamically compiled and loaded code



I wonder if this is such a rare usecase that it is not going to get any attention from eclipse developers.

The problem also doesn't make debugging impossible, it makes it just annoying to have to manually open the appropriate script and look for a specific line of code.

The company which developes our application uses InteliJ and the code lookup works fine there, so it is not a problem with the way the application loads the classes. It seems to be a specific problem of Eclipse.

Any information concerning the issue would be much appreciated, we love our Eclipse and would be sad if we'd had to switch to other IDE.

Cheers

Witold
Previous Topic:IMarkerResolution2 - Display HTML content
Next Topic:JDT - MarkerResolution - How to show HTML content in Proposal window
Goto Forum:
  


Current Time: Sat Apr 20 03:27:03 GMT 2024

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

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

Back to the top