A nice thing that you can do in Visual Studio is to start your program and stop it to debug in the very first line, just by pressing F10 for line by line debugging. This is extremely useful when writing sample code or trying something new.
Is there a way to do this in Eclipse for a Java program? You can't start with line by line because that option is not enabled until you actually start debugging.
I know I could set a breakpoint at the very first line, but then I would have to remove it to actually debug something else.
bounty: for exact answers to the question (if it is even possible) and not a workaround.