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;

Please sign in to leave a comment.