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

后端 未结 3 1076
有刺的猬
有刺的猬 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:21

    EARLIER ANSWER (accepted but not correct) :

    The interactive console allows you to execute some extra code, while debugging, when stopped at via a `breakpoint`.
    
    This is a really beneficial feature when you are debugging and suddenly want to change the value of variable, execute a sysout or some utility function. 
    

    FOR Correct Answer look at the answer below by @mmey.

提交回复
热议问题