When you debug Java or even a Groovy class, I can set break points, and the code stops there. The IDE actually hightlights that line of code it stopped at, and if the code file/tab wasn't up already it would pop it up with the code and highlight the line. But this does NOT happen when the breakpoint is in a Groovy Script.
All I see in the debugger window is that it stopped.
In the variables window I see.
this = GroovyScriptNameHere$_run_closure15_closure20@54d66b6c
I don't see any of the variables that have values when the code stops. I have All-Variables mode set, so they would show up. They show up in Groovy classes and Java classes just not Groovy scripts.
I could have sworn that months ago it was working, so I have no idea what could have changed. Maybe a updated version in IntelliJ that I installed?
It makes it difficult to debug. I have to put my cursor over a variable in the code and wait for the popup to show and select to see its values.
p.s. I can't take screen shots because the code is confidential.