apache / apache/grails-intellij-plugin
Grails. Wrong controller is opened on breakpoint.
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
It seems that we have an issue when debugging grails application in IDEA. When there is two controllers that have the same name, the debugging system is linking the wrong controller as a display.
I have three grails modules :
> CORE is the core module
> APP1 is the First application using the core module
> APP2 is the second app using the core module
let say that APP1 and APP2 has the same controller name
If i'm launching the APP1 in debug mode, i may arrive in the situation where the debugger is opening the APP2 file at the breakpoint i've set in the APP1 controller.
Used grails 2.4.4
---
*Imported from [IDEA-167356](https://youtrack.jetbrains.com/issue/IDEA-167356) · Type: Bug · Votes: 1*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the problem in IntelliJ IDEA with Grails 2.4.4 using CORE, APP1, and APP2, where both applications have controllers with the same name. Start with a debug session for APP1 and inspect how the breakpoint resolves; done means the APP1 controller opens rather than the corresponding APP2 file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100