详述 IntelliJ IDEA 之 Debug 篇

idea's debug

如上图所示:从Server开始,往后图标依次为:

  • 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)

说完第一排图标,咱们再说说第一列图标,上从上向下依次为:

  • Rerun 'tomcat' :重启 tomcat 服务器,还需要在点击“小骷髅”图标(Command + R)
  • Update 'tomcat' Application :更新 tomcat 应用程序(Command + F10)
  • Resume Program :从 debug 模式中恢复程序,执行到底(Alt + Command + R)

温馨提示:Command键为 Mac 中的键盘按钮。


———— ☆☆☆ —— 返回 -> 史上最简单的 IntelliJ IDEA 教程 <- 目录 —— ☆☆☆ ————

猜你喜欢

转载自blog.csdn.net/architect_csdn/article/details/80235688
今日推荐