java while跳过,调试Java代码时如何跳过循环?

This is not a duplicate of How to come out of while loop during debugging. See the comment on this answer http://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

NgiEr.png

Currently debug cursor is at line no 57. Is there any short cut key when pressed it debug cursor should come out of innermost loop (for,while or do-while. Here while loop) and pause at next executable statement (i.e excluding comments. Here line no 64). And when again pressed this key it should come to line number 66.

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):

llCM1.png

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值