Skip to content

Commit 32844f1

Browse files
committed
N & N for lambda breakpoints
Ref : eclipse-jdt/eclipse.jdt.debug#733
1 parent ff5435e commit 32844f1

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed
299 KB
Loading
285 KB
Loading
77.9 KB
Loading

news/4.38/jdt.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,33 @@ Comparison also works with `Arrays` and `Primitives` too.
104104

105105
![Variable Compare with Clipboard Array](images/VariableCompareWithCllipboardPrimitives.png)
106106

107+
108+
109+
### Breakpoint Support for In-line Chained Lambdas
110+
111+
<details>
112+
<summary>Contributors</summary>
113+
114+
- [Sougandh S ](https://github.com/SougandhS)
115+
- [Andrey Loskutov ](https://github.com/iloveeclipse)
116+
</details>
117+
118+
The Java debugger now supports setting breakpoints on individual lambdas defined within single-line chained lambda expressions. When toggling a `Lambda Entry Breakpoint` on such an expression,
119+
a dialog appears showing all lambdas defined on that line in their order of appearance. As you move the selection over a lambda in the list, the corresponding lambda in the source is highlighted,
120+
helping you easily identify which one you’re about to select.
121+
122+
![Lambda Breakpoint Selection Dialog](images/LambdaBreakpointDialog.png)
123+
124+
125+
The dialog also includes a `filter field` to quickly narrow down the list when multiple lambdas are present
126+
127+
![Lambda Filtering in Dialog](images/LambdaFilteringInDialog.png)
128+
129+
Once confirmed, the `breakpoint` is added specifically to that lambda, giving precise control when debugging complex chained expressions.
130+
The selected lambda’s name is also displayed clearly in the `Breakpoints view` for better traceability.
131+
132+
133+
![Selected Lambda in Breakpoints View](images/LambdaInlineBreakpointsView.png)
107134
<!--
108135
### JDT Developers
109136
-->

0 commit comments

Comments
 (0)