Bug 239258 - inherit detail formatters for variable labels
Summary: inherit detail formatters for variable labels
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 11:18 EDT by T. Orf CLA
Modified: 2008-07-02 16:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description T. Orf CLA 2008-07-02 11:18:37 EDT
Build ID: I20080617-2000

In the variables view, detail formatters are inherited in the details pane, but not for the label.

Steps To Reproduce:
1. Set option "Show variable details" to "As the label for variables with detail formatters".
2. Add a detail formatter for java.util.List.
3. Debug code `List l = new ArrayList();'

Actual result: the detail formatter is used in the details pane, but the label for variable l is still the default (something like "java.util.ArrayList<E> (id=22)").

Expected result: the label for variable l should be according to the detail formatter for List.
Comment 1 Darin Wright CLA 2008-07-02 16:23:01 EDT
Looks like the detail formatter is only working for concrete type in the variables view, not for inherited types (i.e. defining a detail formatter for "ArrayList" does work in this case).