Open
Description
I'm having some difficulty debugging single line lambdas in IntelliJ. This doesn't seem to be a supported feature at the moment.
Example
return document.children
.where((node) => node.text == "channel")
...
If I set a breakpoint on the second line in the above sample, the breakpoint is triggered on the .where(...
call, but not the lambda.
What do I expect to happen?
I'd expect that when a breakpoint is selected for a line that is ambiguous as to what code the breakpoint is meant to select, that I'd be given a menu option to choose what code that breakpoint is selecting, similar to other lambda languages that IntelliJ supports.
Here is a GIF with an example shown at the beginning of such an experience in scala