What is the use of Interactive Console in Eclipse (Debug view)

后端 未结 3 1081
有刺的猬
有刺的猬 2021-02-19 13:57

Some threads asked how to use the \"Interactive Console\" in Eclipse since you cannot type anything in this console.

Some suggested you can \"Display view\" to execute c

3条回答
  •  迷失自我
    2021-02-19 14:42

    Eclipse doesn't have an "Interactive Console" in it's default installation. It just has a "Display" view that you can use to execute Java code in debug mode in the scope of the current breakpoint (to evaluate expressions or to change data)

    If you have an "Interactive Console", it's most likely a view from a plugin. I've read that a Google plugin might provide it. Or maybe a plugin for a scripting language like JRuby or Groovy.

    If you say you have an "Interactive Console" and cannot type into it, then I suspect you're not in the right mode for the view to be active (maybe you're not working with the scripting language that provides the view).

提交回复
热议问题