
如上圖所示:從「Server」開始,日後圖標依次爲:html
- Show Execution Point :顯示執行端點(Alt + F10)
- Step Over :跳到下一步 (F8)
- Step Into :進入代碼或者說進入到方法內部(F7)
- Force Step Into :強制進入代碼或者說進入到方法內部(Alt + Shift + F7)
- Step Out :跳到下一個斷點或者跳出方法(Shift + F8)
- Drop Frame :放棄當前debug,從新執行debug
- Run to Cursor :運行到光標處(Alt + F9)
說完第一排圖標,我們再說說第一列圖標,上從上向下依次爲:tomcat
- Rerun ‘tomcat’ :重啓tomcat服務器,還須要在點擊「小骷髏」圖標(Command + R)
- Update ‘tomcat’ Application :更新tomcat應用程序(Command + F10)
- Resume Program :從debug模式中恢復程序,執行到底(Alt + Command + R)
舒適提示:Command
鍵爲 Mac 中的鍵盤按鈕。服務器
下期預告:IDEA 設置默認 Maven 的兩種方法spa
當即下載最新版IntelliJ IDEA >>>debug
原文來自evget.comcode