Evaluating many expressions at once in Intellij Idea

后端 未结 4 1188
囚心锁ツ
囚心锁ツ 2021-01-13 04:12

In Intellij Idea, I\'m looking for a way to evaluate many expressions in debug mode with one command.

Normally I can evaluate single command with Right Click →

4条回答
  •  遥遥无期
    2021-01-13 04:44

    You have to click "Code fragment mode" in the evaluate expression dialog (Alt+F8) and you can enter as many lines as you want instead of single line - which is default - "Expression mode".

    enter image description here

    enter image description here

    Then you can switch back anytime using "Expression mode" button.

提交回复
热议问题