Failure to Build During Debug Execution
Greetings,
IntelliJ is excellent, and I quickly switched from Eclipse.
In the recent development work, there is a Gradle multi-project that uses GitSubmodules:
SPF-----jpf-core (GitSubmodule)
---jpf-symbc
Building and running via CLI works without any issues.
Additionally, when I open the project root (SPF) and build jpf-core/jpf-symbc, it succeeds.
However, when I attempt to debug the module within jpf-core that contains a main function, it fails.
Debugging via CLI is inefficient, and I would like to enhance efficiency by debugging with IntelliJ.
Is there anyone who can identify the cause and solution for this?
Even if it's just a possibility, I would greatly appreciate your guidance.
IntelliJ Version: 2023.1.2/2023.2.1
JDK: 11 (Amazon Corretto)
Gradle: 8.2.1
Execution Module: jpf-core:RunJPF.main()'
CP: -cp SPF.jpf-core.main
Error: Cannot locate tasks that match ':jpf-core:RunJPF.main()' as project 'jpf-core' not found in the root project 'jpf-core'.
Working Directory: ~/SPF/jpf-sumbc
Please sign in to leave a comment.
Hello!
Thank you for reporting this!
This appears to be the issue described in IDEA-326903.
Please make sure to upvote it to raise its' priority for the developers!