Groovy (or other scripting language) for interactive Java debugging

It would be nice if there was support for interactive debugging in IntelliJ, like there is e.g. in PyCharm. The way I imagine it is the possibility to access all variables of the current debugging context - when in a breakpoint - and manipulate them using a scripting language. This might improve insight into large data sets and complex data structures tremendously.


I tried to search for a similar feature request, but could not find anything - if there is something like that alredy, I would be grateful for any pointers.



best regards,


-erwin

3 comments

Hi Erwin,

Not sure about PyCharm specifics here but there is evaluate code fragment mode for usual java debugging.

Denis

0

Thanks, i know about that one and it is already very useful :)
However, if you want to plot some data it is not possible to open a new JFrame() with a chart, because when you are in a breakpoint, the main thread is suspended and you will not be able to interact with the new frame.

0

I see. Feel free to submit corresponding feature request then.

Denis

0

Please sign in to leave a comment.