Skip to content

Commit 3a7811d

Browse files
authored
N & N for Debug (#266)
This commit provides details on new and noteworthy features/enhancements of eclipse jdt debugger for 4.35 release.
1 parent 34ba1a4 commit 3a7811d

10 files changed

+57
-1
lines changed
976 KB
Loading
489 KB
Loading
627 KB
Loading
1.3 MB
Loading
944 KB
Loading
428 KB
Loading
286 KB
Loading
249 KB
Loading
592 KB
Loading

news/4.35/jdt.html

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
22
<html xmlns="http://www.w3.org/1999/xhtml">
33
<head>
4-
<meta name="copyright" content="Copyright (c) Eclipse contributors and others 2018, 2019. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page."/>
4+
<meta name="copyright" content="Copyright (c) Eclipse contributors and others 2018, 2025. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page."/>
55
<meta http-equiv="Content-Language" content="en-us"/>
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
77
<link rel="STYLESHEET" href="news.css" type="text/css"/>
@@ -97,6 +97,62 @@ <h2>Java Formatter </h2>
9797
<h2>Debug</h2>
9898
</td>
9999
</tr>
100+
<tr id="compare-objects">
101+
<td class="title">Compare Objects from Variables View</td>
102+
<td class="content">
103+
Developers can now easily compare elements in objects of the same type, such as <b><i>Lists, CharSequences, Sets, Iterables, Maps, Wrappers, Queues, and Deques</i> </b>, directly from the variables view.
104+
This feature provides a summarised overview of their similarities and differences.
105+
For other Java types, comparisons will be made based on their fields (if available), or by their references if fields are not present.
106+
This eliminates the need to write explicit comparison code in the debug shell or manually inspect each collection.<br> Simply stop at a breakpoint, select at least two variables of the same type, and view the comparison results..
107+
<br>
108+
<br>Here's an example <br>
109+
We have stopped at line 26 which left us 4 objects of List types, now all we have to do is just select all 4 and choose "<b>Compare</b>" from right click
110+
<p>
111+
<img src="images/compareObjects_Menu.png" alt="Compare objects from variables view"/>
112+
</p>
113+
<br> Results
114+
<p>
115+
<img src="images/compareObjects_Results1.png" alt="Results of comparison"/>
116+
</p>
117+
<br>
118+
Another example of comparing two char sequences <br>
119+
<p>
120+
<img src="images/compareObjects_Results2.png" alt="Results of comparison"/>
121+
</p>
122+
<br> Maps <br>
123+
<p>
124+
<img src="images/compareObjects_Results3.png" alt="Results of comparison"/>
125+
</p>
126+
<br> Custom Types (Fields available) <br>
127+
<p>
128+
<img src="images/compareObjects_Results4.png" alt="Results of comparison"/>
129+
</p>
130+
<br> Custom Types (Fields unavailable) <br>
131+
<p>
132+
<img src="images/compareObjects_Results5.png" alt="Results of comparison"/>
133+
</p>
134+
</td>
135+
</td>
136+
</tr>
137+
138+
<tr id="Detailformatter-for-primitives">
139+
<td class="title">Detail formatters for primitives and arrays</td>
140+
<td class="content">
141+
Developers can now add custom formatters for Java primitives and arrays. An additional option to configure formatters for primitives is available under<b> Preferences -> Detail Formatters -> Add </b>.
142+
<p>
143+
<img src="images/detailFormatters_Primitives.png" alt="detail formatters option"/>
144+
</p><br>
145+
<p>
146+
<img src="images/detailFormatters_Primitives2.png" alt="detail formatters option"/>
147+
</p>
148+
Custom formatting can also be accessed from the variables view menu options.<br>
149+
<p>
150+
<img src="images/detailFormatters_Primitives3.png" alt="detail formatters option"/>
151+
</p>
152+
<br>
153+
</td>
154+
</td>
155+
</tr>
100156
<!--************************ End of Debug ******************************** -->
101157

102158
<!-- *********************** JDT Developers ******************************** -->

0 commit comments

Comments
 (0)