调试java时,Eclipse会跳过断点 [英] Eclipse skipping over breakpoints when debugging java
问题描述
你提到什么( -XX:+ UseParallelGC
)是使用jdk6u14和15发现的错误的解决方法。
I've been using Eclipse for ages and I use the debugger all the time but recently I've known it to skip over breakpoints while debugging! I've even had it so that I've set a break point on a println I'll see the text come out but not hit the breakpoint. Also sometimes I'll hit a break point consistently in one area of the code but not in others. This never used to happen and I can't work out what I've done to my system to cause this. Has anyone else had any experience of the problem?
What you mention ("-XX:+UseParallelGC
") is a workaround for the bug found with jdk6u14 and 15.
As mentionned in "Eclipse SWING app: breakpoint hit only after an uncaught exception is thrown", it is fixed with jdk6u16.
这篇关于调试java时,Eclipse会跳过断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!