Skip to content

Cannot add breakpoints in groovy class from jar file  #544

@moley

Description

@moley

Hi,

I have different gradle plugin projects, which are dependend from each other. They are built with gradle and published via gradle maven-publish plugin. If I open the groovy file from jar in my project and want to add a breakpoint to a valid line, this does not work. With IntelliJ it is working for my scenario, so I think it is an eclipse bug and not a bug in maven-publish plugin.
I have uploaded a small github project to extract this behaviour.
To reproduce do the following:

  • Download project from https://github.com/moley/eclipseGroovyDebug
  • step into subproject groovylib and call ./gradlew publishToMavenLocal
  • a version of the groovylib should be available in ~/.m2/repository/groovylib
  • open subproject groovyapp by "File->Import...->Existing Gradle Project" or call ./gradlew eclipse on this project and open via "File->Import...->Existing projects into workspace"
  • Open the dialog "Open Type" and search for "SomeLibClass"
  • Try to add breakpoint -> nothing happens

Does not work for version 3.0.0.xx-201803261849-e47 of Eclipse Groovy Development Tools in Oxygen and does not work with Photon either

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions