How to jump to next break point in IntelliJ?

徘徊边缘 提交于 2019-12-03 06:13:41

问题


How can I jump to the next breakpoint in IntelliJ, as I can in Visual Studio by pressing F5?


回答1:


While in debug mode, and between two breakpoints, hit the F9 key.




回答2:


AFAIK, there is no direct F5 like in Visual Studio to jump to the next breakpoint without cursor pointing. The closest is the ALT+F9 that jumps to the cursor.

For quick reference, the most used debugging keyboard shortcuts are:

  • F8 Step over
  • F7 Step into
  • Shift + F7 Smart step into
  • Shift + F8 Step out
  • Alt + F9 Run to cursor
  • Alt + F8 Evaluate expression
  • F9 (Mac: Cmd + ALT + R) Resume program
  • Ctrl + F8 (Mac: Cmd + F8) Toggle breakpoint
  • Ctrl + Shift + F8 (Mac: Cmd + Shift + F8) View breakpoints

To note that there are some keyboard shortcut differences between Mac and Win/Linux. Full references to PDF cheatsheets below.

  • Mac keymap: https://www.jetbrains.com/idea/docs/IntelliJIDEA_ReferenceCard_Mac.pdf

  • Win/Linux keymap: https://www.jetbrains.com/idea/docs/IntelliJIDEA_ReferenceCard.pdf



来源:https://stackoverflow.com/questions/15962122/how-to-jump-to-next-break-point-in-intellij

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!