Honor Java Expression's context when creating Watches#926
Honor Java Expression's context when creating Watches#926SougandhS merged 1 commit intoeclipse-jdt:masterfrom
Conversation
...bug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/JavaNestedWatchExpressionFilter.java
Outdated
Show resolved
Hide resolved
...bug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/JavaNestedWatchExpressionFilter.java
Outdated
Show resolved
Hide resolved
...bug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/JavaNestedWatchExpressionFilter.java
Show resolved
Hide resolved
|
I think here we can add a test, once eclipse-platform/eclipse.platform#2311 is merged. |
|
@SougandhS I can't seem to run the tests in Do you also see this? Since the tests pass in the CI environment, I'll open a new issue for this - if you see the same problem. |
I did get But it was resolved once I used Then all tests ran successfully |
|
Thank you for the approval @trancexpress, I'll soon merge this 👍 |
Maybe something from the plug-ins I have in my workspace then. |
Please also squash the commits, no need for two commits. |
When selecting a field under an object, both the Watch command and Drag & Drop previously created a non-contextual expression using only the field name, which caused evaluation failures. This fix ensures that both Watch and Drag & Drop now generate proper context-aware expressions such as myobj.myfield instead of just the field name. Platform changes : eclipse-platform/eclipse.platform#2311 Fixes : https://bugs.eclipse.org/bugs/show_bug.cgi?id=321289
|
Will include this in N&N once eclipse-platform/eclipse.platform#2311 is merged 👍 |
When selecting a field under an object, both the Watch command and Drag & Drop previously created a non-contextual expression using only the field name, which caused evaluation failures. This fix ensures that both Watch and Drag & Drop now generate proper context-aware expressions such as myobj.myfield instead of just the field name.
Platform changes :
eclipse-platform/eclipse.platform#2311
Fixes : https://bugs.eclipse.org/bugs/show_bug.cgi?id=321289
What it does
How to test
Author checklist