I'm looking for a command/line that does literally nothing, is as short and simple as possible, but allows me to place a breakpoint on it. (in Eclipse)
What I've tried:
System.out.println(""); //Too long, also it prints an empty line
boolean b = false; //Also too long + could cause interferences
; // Doesn't let me place a breakpoint on it in Eclipse
if (true); //Doesn't trigger
I need this for conditional breakpoints. (certain indexes in a for-loop for example)
I am aware of conditional breakpoints in Eclipse, but I'm still looking for that void line. (partially because of plain interest, and partially because I don't like clicking things and relying purely on the IDE)