I just cannot understand the two options under the Run button of the menu in Eclipse. Doesn’t the usually breakpoint refer to a line? I realize that there could be this case:
if (x >= 0 && x < 4 && y >= 0
&& y < 4)
source ^= 1 << (x * 4 + y);
However when toggle line breakpoint of the 2nd line to set a breakpoint, it can also be unset by toggle breakpoint.So what’s their difference on earth and how to distinguish them with the symbols?
toggle line breakpoint only act on the line breakpoint. the other act on any breakpoint. Here ( http://eclipse-tips.com/tips/29-types-of-breakpoints-in-eclipse ) you can see the list of possible breakpoints in eclipse.