I want to set a debug breakpoint in IntelliJ Idea that is only active, if another previous breakpoint was activated. For example i have a breakpoint B1 on line
You can do that in the View Breakpoints... view:
View Breakpoints...
In your case you will first have to set a conditional breakpoint on B1 so that when it is hit then and only then B2 will be triggered.