Skip to content

Commit 33b4b8e

Browse files
SougandhSMohananRahul
authored andcommitted
N & N for lambda breakpoints
Ref : eclipse-jdt/eclipse.jdt.debug#733
1 parent f5bf2b2 commit 33b4b8e

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
@@ -121,6 +121,33 @@ Comparison also works with `Arrays` and `Primitives` too.
121121

122122
![Variable Compare with Clipboard Array](images/VariableCompareWithCllipboardPrimitives.png)
123123

124+
125+
126+
### Breakpoint Support for In-line Chained Lambdas
127+
128+
<details>
129+
<summary>Contributors</summary>
130+
131+
- [Sougandh S ](https://github.com/SougandhS)
132+
- [Andrey Loskutov ](https://github.com/iloveeclipse)
133+
</details>
134+
135+
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,
136+
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,
137+
helping you easily identify which one you’re about to select.
138+
139+
![Lambda Breakpoint Selection Dialog](images/LambdaBreakpointDialog.png)
140+
141+
142+
The dialog also includes a `filter field` to quickly narrow down the list when multiple lambdas are present
143+
144+
![Lambda Filtering in Dialog](images/LambdaFilteringInDialog.png)
145+
146+
Once confirmed, the `breakpoint` is added specifically to that lambda, giving precise control when debugging complex chained expressions.
147+
The selected lambda’s name is also displayed clearly in the `Breakpoints view` for better traceability.
148+
149+
150+
![Selected Lambda in Breakpoints View](images/LambdaInlineBreakpointsView.png)
124151
<!--
125152
### JDT Developers
126153
-->

0 commit comments

Comments
 (0)