Can't set breakpoint in lambda that is a field

已回答

It seems that if you define a lambda in a field, you cannot put a breakpoint in it, as Intellij only recognises it as a field watch, eg:

final Predicate<Object> isNull = x -> x == null;
0

请先登录再写评论。