apache / apache/grails-intellij-plugin

Grails 2: debugger fails at method breakpoints

Open
#337 0 comments 0 reactions 0 assignees View on GitHub
bug imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

IU-182.4505.22
JRE 1.8.0_152-release-1293-b12x64
JetBrains s.r.o
OS Windows 7(amd64) v6.1 Service Pack 1
Grails version 2.5.5

STR: put the method breakpoint in controller just like this (test project attached)
```
def index(Integer max) { //method breakpoint here
print "ok"
params.max = Math.min(max ?: 10, 100)
respond Book.list(params), model:[bookInstanceCount: Book.count()]
}
```
and try to run debugger => get the message in the Debug toolwindow

_⚠️ attachment `image.png` was not included in the export_

That's all. Aplication doesn't run.
Replace the method breakpoint with the simple one => everything works normally.

---

*1 attachment(s) referenced here (`image.png`) are not part of the CSV export.*
*Imported from [IDEA-199071](https://youtrack.jetbrains.com/issue/IDEA-199071) · Type: Bug · Votes: 0*
*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

Start by reproducing the method-breakpoint failure with Grails 2.5.5, JRE 1.8.0_152, and the controller example from the issue on Windows 7. Compare debugger startup with a simple breakpoint; done means the application launches and the method breakpoint works without the reported Debug toolwindow error.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.