When setting breakpoints and debugging the Spoofax 3 Eclipse LWB using IntelliJ, it gets confused as to which sources belong to the running Eclipse instance.
Specifically, IntelliJ shows dependencies with the eclipse-2021-03-R group, and with the org.eclipse.platform group. The latter are the wrong ones, the former are introduced through Coronium.
The 'wrong' org.eclipse.platform dependencies come from JDT:
org.eclipse.jdt:org.eclipse.jdt.core test dependency in spoofax.pie/core/spoofax.compiler
org.eclipse.jdt:org.eclipse.jdt.core API dependency in pie/core/task.java.ecj
org.eclipse.jdt:org.eclipse.jdt.compiler.apt API dependency in pie/core/task.java.ecj
org.eclipse.jdt:org.eclipse.jdt.compiler.tool API dependency in pie/core/task.java.ecj
While not a fix, one workaround is to (temporarily) disable the task.java.ecj project and to temporarily disable the offending test dependency in spoofax.compiler.
When setting breakpoints and debugging the Spoofax 3 Eclipse LWB using IntelliJ, it gets confused as to which sources belong to the running Eclipse instance.
Specifically, IntelliJ shows dependencies with the
eclipse-2021-03-Rgroup, and with theorg.eclipse.platformgroup. The latter are the wrong ones, the former are introduced through Coronium.The 'wrong'
org.eclipse.platformdependencies come from JDT:org.eclipse.jdt:org.eclipse.jdt.coretest dependency inspoofax.pie/core/spoofax.compilerorg.eclipse.jdt:org.eclipse.jdt.coreAPI dependency inpie/core/task.java.ecjorg.eclipse.jdt:org.eclipse.jdt.compiler.aptAPI dependency inpie/core/task.java.ecjorg.eclipse.jdt:org.eclipse.jdt.compiler.toolAPI dependency inpie/core/task.java.ecjWhile not a fix, one workaround is to (temporarily) disable the
task.java.ecjproject and to temporarily disable the offending test dependency inspoofax.compiler.