Skip to content

Commit 1a7972d

Browse files
SougandhSmerks
authored andcommitted
N&N for JDT debug
1 parent 96c1325 commit 1a7972d

File tree

5 files changed

+34
-4
lines changed

5 files changed

+34
-4
lines changed
197 KB
Loading
295 KB
Loading
764 KB
Loading
854 KB
Loading

news/4.38/jdt.md

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,40 @@ A special thanks to everyone who [contributed to JDT](acknowledgements.md#java-d
3232
## Java Formatter
3333
-->
3434

35-
<!--
36-
---
37-
## Debug
38-
-->
35+
36+
## Debugger
37+
38+
39+
### Compare Variable Value with Clipboard
40+
41+
<details>
42+
<summary>Contributors</summary>
43+
44+
- [Sougandh S ](https://github.com/SougandhS)
45+
</details>
46+
47+
The Variables view now provides an option to compare a selected variable’s `toString()` value directly with the current clipboard content.
48+
The values open in a comparison viewer where differences are clearly highlighted, making it easier to verify actual values against expected results quickly and accurately.
49+
50+
51+
To use this, select a variable from `Variables View` and choose `Compare With Clipboard` from its content menu
52+
53+
![Variable Compare with Clipboard](images/VariableCompareWithClipboardOption.png)
54+
55+
56+
For `objects`, the clipboard content is compared to their `toString()` value.
57+
58+
59+
![Variable Compare with Clipboard Result](images/VariableCompareWithClipboardResult.png)
60+
61+
62+
Comparison also works with `Arrays` and `Primitives` too.
63+
64+
65+
![Variable Compare with Clipboard Array](images/VariableCompareWithCllipboardArrays.png)
66+
67+
68+
![Variable Compare with Clipboard Array](images/VariableCompareWithCllipboardPrimitives.png)
3969

4070
<!--
4171
### JDT Developers

0 commit comments

Comments
 (0)