diff --git a/news/4.38/images/LambdaBreakpointDialog.png b/news/4.38/images/LambdaBreakpointDialog.png new file mode 100644 index 00000000..2faeb352 Binary files /dev/null and b/news/4.38/images/LambdaBreakpointDialog.png differ diff --git a/news/4.38/images/LambdaFilteringInDialog.png b/news/4.38/images/LambdaFilteringInDialog.png new file mode 100644 index 00000000..af4d3a41 Binary files /dev/null and b/news/4.38/images/LambdaFilteringInDialog.png differ diff --git a/news/4.38/images/LambdaInlineBreakpointsView.png b/news/4.38/images/LambdaInlineBreakpointsView.png new file mode 100644 index 00000000..9db06ed4 Binary files /dev/null and b/news/4.38/images/LambdaInlineBreakpointsView.png differ diff --git a/news/4.38/jdt.md b/news/4.38/jdt.md index 2c78c8c8..8d7ff2d9 100644 --- a/news/4.38/jdt.md +++ b/news/4.38/jdt.md @@ -121,6 +121,33 @@ Comparison also works with `Arrays` and `Primitives` too. ![Variable Compare with Clipboard Array](images/VariableCompareWithCllipboardPrimitives.png) + + +### Breakpoint Support for In-line Chained Lambdas + +
+Contributors + +- [Sougandh S ](https://github.com/SougandhS) +- [Andrey Loskutov ](https://github.com/iloveeclipse) +
+ +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, +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, +helping you easily identify which one you’re about to select. + +![Lambda Breakpoint Selection Dialog](images/LambdaBreakpointDialog.png) + + +The dialog also includes a `filter field` to quickly narrow down the list when multiple lambdas are present + +![Lambda Filtering in Dialog](images/LambdaFilteringInDialog.png) + +Once confirmed, the `breakpoint` is added specifically to that lambda, giving precise control when debugging complex chained expressions. +The selected lambda’s name is also displayed clearly in the `Breakpoints view` for better traceability. + + +![Selected Lambda in Breakpoints View](images/LambdaInlineBreakpointsView.png)