在使用eclipse調(diào)試代碼的時(shí)候,控制臺Console可以得到實(shí)時(shí)的運(yùn)行結(jié)果,在運(yùn)行出錯的時(shí)候,可以根據(jù)堆棧信息定位問題,十分的方便,下面就來介紹下如何操作
找到我們的eclipse軟件,雙擊圖標(biāo)進(jìn)入

打開一份代碼文件,現(xiàn)在在視圖選項(xiàng)中是沒有Console選項(xiàng)的

在工具欄中找到如下圖所示的位置,調(diào)出Console窗口

運(yùn)行代碼,就可以看到Console里運(yùn)行的結(jié)果了
