Reputation: 23
I have a problem in Eclipse (with Java 8) that I add a breakpoint for a function in some class in the project. But when the debugging starts, it is from the beginning of the program (from the main method!). Of course, I do not want to follow all the program so please what can I do?
Upvotes: 1
Views: 334
Reputation: 335
Take a look at the "Debug/Run Configuration..." and uncheck to button to start in debugging in the main method.
how to setup "Main Class" in "Run Configurations" in Eclipse
Uncheck/Check "Stop in main".
Is this what you want to do?
Upvotes: 1
Reputation: 15896
Select your debug configuration from menu Run->debug configurations...
Go to main tab and uncheck Stop in main checkbox.
Upvotes: 0
Reputation: 26961
Possibly you have a class or method breakpoint...
F8
key to jump to next point or you can To modify them: open debug perspective and take a look to breakpoints:
if you don't have this, please take a look to other answers. ;)
Upvotes: 0