Community
Participate
Working Groups
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.