Stop on exception breakpoints inside lambda functions
Answered
Hi,
I setup my breakpoints such as to stop on some unchecked exception (ClassCastException). It occurs inside lambda code but ide doesn't stop.
I assume jetbrains didn't implement this feature, perhaps not very useful,I guess?
--john
Please sign in to leave a comment.
Hi, this should work. Please provide a sample test to reproduce.
Can't get to reproduce again. I have tried several simple test such as this last one:
Stream.of("a", "b", "c").filter(e -> e.startsWith("a")).forEach(a -> a = (String)(Object)42);
the CCE breakpoint stops as it should. I guess, just another of idea's occasional quirks. Sorry for the bother, please consider this closed.
No problem, if you see it again please try to report the case. Thanks!