[Webkit-unassigned] [Bug 27514] add support for watched expressions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 22 11:26:59 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27514





--- Comment #2 from Patrick Mueller <pmuellr at yahoo.com>  2009-07-22 11:26:58 PDT ---
Created an attachment (id=33275)
 --> (https://bugs.webkit.org/attachment.cgi?id=33275)
mock up of watched expressions UI

Mock up of the UI.  The Watched Expressions is a new sidebar pane as a peer of
Call Stack, Scope Variables, etc.  

Somehow we need to have a way to add a new expression.  Something like a button
where the italic "Add watched expression" label is in the image.  

Looks like the ObjectPropertiesSection class can be largely reused, with a bit
of refactoring.  The "property names" in this case, like "19+23" are the
expressions, the values are the results of evaluating the expression.  Objects
with properties should be drill-down-able, like window.HTMLElement is in the
example, which ObjectPropertiesSection handles already.  

Evaluations which cause exceptions need to be reported, as they are in the bare
"x" example (ReferenceError), though this needs to be prettied up with an icon
of some kind, and probably a different color.

There will need to be affordances/gestures to delete an expression, and to edit
the expression.  May want to add an accelerator to watch the expression
indicated by text selected in the source view.

The expressions should be sorted by time added.  Perhaps they should be
positionable via drag-drop, eventually.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list