Restore a Deleted Breakpoint

You can restore previously configured breakpoints if you accidentally delete them.

You can right-click in the gutter icon to place a breakpoint and then configure it. If you accidentally delete that breakpoint, you can get it back by placing a new breakpoint then selecting Restore previous breakpoint. IntelliJ IDEA will use your previous settings from the deleted breakpoint, so you don't need to re-configure it twice.


Related Resources

Understanding the Debugger
Understanding the Debugger
Use the debugger to help you understand what your code is doing.
Debugging Streams
Debugging Streams
Visualize the flow of data through a Java stream.
Add a  Breakpoint
Add a Breakpoint
Easily add breakpoints when you get an exception in your code