diff --git a/news/4.40/images/WatchExpressions.gif b/news/4.40/images/WatchExpressions.gif new file mode 100644 index 00000000..4a4fda61 Binary files /dev/null and b/news/4.40/images/WatchExpressions.gif differ diff --git a/news/4.40/jdt.md b/news/4.40/jdt.md index 0ab26a8b..e9a8f6a4 100644 --- a/news/4.40/jdt.md +++ b/news/4.40/jdt.md @@ -80,6 +80,22 @@ __After__ (Will take only 3 Step Over(s) to complete `tet()` method invocation) ![After Filter](images/AfterFilter.gif) +### Context-Aware Watch Expressions + +
+Contributors + +- [Sougandh S](https://github.com/SougandhS) +
+ +Watch expressions created from the `Variables View` now correctly include their evaluation context. +Previously, creating a watch expression on a field under an object generated only the field name, which led to evaluation failures. +With this improvement, both the `Watch action` and `Drag and Drop` now generate fully qualified expressions, +for example `myobj.myfield`, ensuring they evaluate correctly for the current context. + +![Watch Context](images/WatchExpressions.gif) + +