How to debug groovy code in eclipse (Play-Framework)
I play a little with "Play" (I love this sentence) and tried to se开发者_运维知识库t up a breakpoint within the html file. Of course the eclipse editor has no such option, only bookmark text is available.
I also tried the eclipse plugin from codehouse but unfortunately it only supports groovy code in a java file.
Is there a possebility to set a breakpoint in html files and debug groovy code?
I'll be really thankful for any hint.Short overview about my system:
- eclipse 3.6
- play 1.2.3
I'm afraid that it's not possible to set a breakpoint in groovy template. The best way to debug is to refresh the page and check. It's troublesome but that's the only way. I believe that's one of the reasons the author is moving to Scala template in Play 2.0.
In my opinion, that is not possible. You can debug whole the Java part but not the Groovy part that is compiled...
Unfortunately, it is not possible to set a breakpoint in an html file and expect it to be reached by the debugger. However, it is possible to set breakpoints in Groovy files.
Furthermore, if you install STS, then you can get the display view and expressions view working for Groovy stack frames.
精彩评论