IntelliJ - Debugging set next statement?

后端 未结 2 1966
耶瑟儿~
耶瑟儿~ 2021-02-20 03:09

How can I step back to a previous line when I\'m debugging in IntelliJ?

I don\'t see anything in the debug menu or commands to do this.

相关标签:
2条回答
  • 2021-02-20 03:20

    There's no backward debugging support in IDEA currently. Nevertheless (for Java) there is Drop Frame action and button on the debugger toolbar. It lets you go one frame up in the stack and re-enter the current method.

    enter image description here

    0 讨论(0)
  • 2021-02-20 03:33

    The Chronon plugin, which is available for free with IntelliJ IDEA 13, can do this for you. It has limitations, though; chiefly, if your application runs outside of the IDE itself (like a Tomcat or Jetty server), the free version won't be usable with your setup.

    0 讨论(0)
提交回复
热议问题