hanki.dev

Set breakpoint conditions in IDEA

Today I found out you can set conditions to your breakpoints in IntelliJ IDEA! Just add the breakpoint like you normally do, and then right click it. It will open a dialog where you can set a condition when to trigger the breakpoint!

IntelliJ IDEA breakpoint condition

You have access to all the variables that you'd normally be able to access in the code.

#idea #java