In eclipse, while debugging, how do I access the interactive-top-level (a.ka. the “display console”)?

前端 未结 2 698
耶瑟儿~
耶瑟儿~ 2020-12-22 23:05

In most programming languages I\'ve used, when debugging, when I hit a breakpoint, I have the ability to execute arbitrary code (whatever I type into the console after the b

2条回答
  •  Happy的楠姐
    2020-12-22 23:44

    Eclipse has it indeed. Window->Show View->Interactive Console. Note that you can also execute expressions in the Watch view (e.g. result=false, exception.printStackTrace() etc.).

提交回复
热议问题