1

I'm using IntelliJ idea Community edition (with Scala) and I'm trying to evaluate an expression. I hit Alt-F8 to open it in debug mode and then switch to 'Code Fragment Mode'. However, I'm allowed to only evaluate variables that already exist in memory, and am not allowed to declare new. When I do so, I get- 'Evaluation of variables is not supported'. Is there a plugin that I can use in debug mode to evaluate arbitrary code?

Thanks.

0fnt
  • 2,001

1 Answers1

1

As of now, the current version of IntelliJ (version 2016.2, build: 162.1121.32) does support variables in their expression evaluator (code fragment mode). I tried val and var, they both work as expected.

morfizm
  • 111