Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added news/4.40/images/AfterFilter.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added news/4.40/images/BeforeFilter.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added news/4.40/images/FilterStatementPreference.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 28 additions & 4 deletions news/4.40/jdt.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,34 @@ A special thanks to everyone who [contributed to JDT](acknowledgements.md#java-d
## Java Formatter
-->

<!--
---
## Debug
-->

## Debugger

### Statement-Level Stepping Support

<details>
<summary>Contributors</summary>

- [Sougandh S](https://github.com/SougandhS)
- [Andrey Loskutov](https://github.com/iloveeclipse)
</details>

A new filtering option has been added to the `Step Filtering` preferences to enable __Statement-Level Stepping__.
When enabled, the debugger skips intermediate bytecode instructions within a single statement and suspends only at the next executable source statement.

![Filter Statement Preference](images/FilterStatementPreference.png)

This is particularly useful for multi-line statements, where stepping would otherwise pause multiple times due to intermediate operations.
By filtering out these intermediate steps, the debugger provides a smoother and more source-aligned stepping experience.

__Before__ (Will take 8 Step Over(s) to complete `tet()` method invocation)

![Before Filter](images/BeforeFilter.gif)

__After__ (Will take only 3 Step Over(s) to complete `tet()` method invocation)

![After Filter](images/AfterFilter.gif)


<!--
### JDT Developers
Expand Down