[Webkit-unassigned] [Bug 125927] Web Inspector: Watch expressions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 18 09:42:08 PST 2013


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





--- Comment #2 from Timothy Hatcher <timothy at apple.com>  2013-12-18 09:40:13 PST ---
Putting more data into the text editor like this is something we have talked about internally (DFG JIT types for variables, heat map for profiles, etc.)

While inline expressions would solve the problem when the expression is visible, often I think people use watch expressions for things not used in the code. Figuring out what and why people use the Chrome watch expressions pane for might give us clues to better UXs. I don't really like the old watch expressions pane as-is.

One thing I know people use it for is tracking important variables as they step in one place — which is a horrible UI. You might have only a few expressions that apply to the current stack, and the others are exceptions. A better UI for watching important variables is a way to flag scope chain variables or variable paths (nested in objects) and promote/bubble them up to the top or color them or something special. That way they are scope specific and wouldn't clutter a global expression list.

Joe and Antoine apparently talked about a grander idea for watch expressions at some point, maybe they can post their ideas too.

I'd be interested in going forward with the inline approach in the mock-up.

As far as the current mock-up goes, would there be any other UI for managing the expressions? How do you remove one? How would object values work? A popover on the bubble? The less UI the better.

-- 
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