Bug 535984 - Add DetailFormatters for the Wrapper classes and Classes around date/time
Summary: Add DetailFormatters for the Wrapper classes and Classes around date/time
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.7.3   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-17 16:11 EDT by chidveer chinthakuntla CLA
Modified: 2018-06-17 16:12 EDT (History)
0 users

See Also:


Attachments
screenshot for Variable view not showing the Long Objects value. (14.32 KB, image/png)
2018-06-17 16:12 EDT, chidveer chinthakuntla CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description chidveer chinthakuntla CLA 2018-06-17 16:11:00 EDT
In debug view its not easy to see the values for wrapper classes or date/times.

1. create class/main method and create variables as below.
      Long wrapperLong = new Long(4);        
      long primitiveLong=45454l;
2. add a debug point after the 2nd line  and launch in debug perspective.
3. As attached in the screenshot you will won't be able to see the wrapperLong value (directly in the Variable view) but, you have to click on it to see its vlaue.
4. Adding some default DetailFormatters for these would be nice 
5. In my example its easy to see an object value  as "4 - Long( Id=45)" instead of just the type and address.
        

-- Configuration Details --
Product: Eclipse 4.7.3.20180405-1200 (org.eclipse.epp.package.jee.product)Installed Features:
 org.eclipse.jdt 3.13.4.v20180330-0919
Versioning Plugin:
 org.eclipse.platform 4.7.3.v20180330-0640
Comment 1 chidveer chinthakuntla CLA 2018-06-17 16:12:39 EDT
Created attachment 274494 [details]
screenshot for Variable view not showing the Long Objects value.