This is not a duplicate of How to come out of while loop during debugging. See the comment on this answer https://stackoverflow.com/a/8107702/1391924 by the author of this question.
While debugging, we can use short-cut keys like F8 to resume, F7 to step return, F5 to step into, F6 to step over.
Is there any short-cut key to skip loops (for,while and do-while) while debugging Java code?
In the picture shown below

Edit:
Not got any satisfied answer. Raised a bug here. Please vote up and request this feature in next JDT release.
Select the line that's out of the loop and press ctrl + r (Run to line):

You can add a breakpoint after the loop and click F8 (resume). The debugger will stop on the next found breakpoint, e.g. you will have skipped the loop(s).
来源:https://stackoverflow.com/questions/20491453/how-to-skip-loops-while-debugging-java-code