Skip to content

Commit 2791286

Browse files
committed
Add N&N for Context Aware Watch Expressions
1 parent b12ab92 commit 2791286

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
768 KB
Loading

news/4.40/jdt.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@ __After__ (Will take only 3 Step Over(s) to complete `tet()` method invocation)
8080
![After Filter](images/AfterFilter.gif)
8181

8282

83+
### Context-Aware Watch Expressions
84+
85+
<details>
86+
<summary>Contributors</summary>
87+
88+
- [Sougandh S](https://github.com/SougandhS)
89+
</details>
90+
91+
Watch expressions created from the `Variables View` now correctly include their evaluation context.
92+
Previously, creating a watch expression on a field under an object generated only the field name, which lead to evaluation failures.
93+
With this improvement, both the `Watch action` and `Drag and Drop` now generate fully qualified expressions.
94+
For example `myobj.myfield`, ensuring they evaluate correctly for current context.
95+
96+
![Watch Context](images/WatchExpressions.gif)
97+
98+
8399
<!--
84100
### JDT Developers
85101
-->

0 commit comments

Comments
 (0)