Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse skipping over breakpoints when debugging java

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?

like image 245
Benj Avatar asked Dec 31 '25 08:12

Benj


1 Answers

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.

like image 65
VonC Avatar answered Jan 02 '26 01:01

VonC