Bug 185434 - [Variables] In Debug Variables view, flatten or show 'logical structure' for JS objects
Summary: [Variables] In Debug Variables view, flatten or show 'logical structure' for ...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: ATF (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-03 16:36 EDT by Javier Pedemonte CLA
Modified: 2020-05-07 10:51 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Pedemonte CLA 2007-05-03 16:36:17 EDT
Right now, the Variables view in the JavaScript debugger is overly complex, showing many things (such as __constructor__ & __prototype__) that aren't relevant  to most users.  We should hide these and simplify the view.

First, we could "flatten" the objects.  Remove from view the __constructor__, etc;  show all object members side-by-side (whether direct members or from __prototype__).  Basically, make the object view look more like what you would see in Java.

Second, we could create "logical structure" formatters for certain JS or toolkit objects (see http://wbeaton.blogspot.com/2007/03/show-logical-structure.html).  As the example at that link shows, we could display what the contents are for a JS array, rather than the underlying structure of the array object.

Basically, clean up the Variables view so it is not so overwhelming, and make it easy for the user to get the relevant information without too much trouble.