Community
Participate
Working Groups
Test Case From the JavaEditor, double click on the ruler beside a try statement (try { ... a non-executable line of code) Repeat at will You will get multiple breakpoints
This was caused by a bug in JDIDebugModel#isDuplicateLineBreakpoint. Iterating over all breakpoints in the breakpoint manager, the method would first compare the marker type to the given type. If that matched, it would then compare the containing type (IType) of the new marker to the existing marker. However, the method was calling breakpoint.getMarker().getType() which returns a string (the marker type), not an IType (the declaring type). I don't know how this method ever worked at all. Fixed to compare IType to IType (via breakpoint.getType()). Please verify.