jbosstools / jbosstools-quarkus

Quarkus tooling for Eclipse
https://tools.jboss.org
Apache License 2.0
16 stars 20 forks source link

JBIDE-28730: Wrong editor opens while debugging quarkus project #200

Closed jeffmaury closed 1 year ago

jeffmaury commented 1 year ago

Signed-off-by: Jeff MAURY jmaury@redhat.com

Pull Request Checklist

General

Code

Testing

Function

olkornii commented 1 year ago

@jeffmaury Still same error, see video: wrong_editor_while_debuging

jeffmaury commented 1 year ago

@jeffmaury Still same error, see video: wrong_editor_while_debuging wrong_editor_while_debuging

This is a non bug. The projects are created with the same Maven coordinates as you did not go to the second screen of the wizard and the remote Java debug configuration is created by M2E that looks at the Maven console and automatically launches the Java debug when it sees a message like: Listening for transport dt_socket at address: 60172 So in order to associate a project with the new debug configuration, it retrieves the maven coordinates and try to find a project from the workspace. As both projects have the same Maven coordinates, then the first found is chosen. So I'm going to close this PR as main branch is correct.