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.
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.
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.
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.