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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 18 12:23:01 PST 2013


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





--- Comment #11 from Timothy Hatcher <timothy at apple.com>  2013-12-18 12:21:06 PST ---
(In reply to comment #6)
> (In reply to comment #2)
> > As far as the current mock-up goes, would there be any other UI for managing the expressions?
> 
> I imagine a panel similar to the breakpoints one that can be used to disable and jump to the watch expression.

Yes, it could be a section in the Debugger sidebar. We plan to add a Probes section soon based on the work in the Timelapse project. In a way watch expressions are like probes, and IIRC, probes work without pausing by recording values during normal execution and auto continuing.

Maybe the inline treatment you propose should just be used for probes to see the last value?

> > How do you remove one?
> 
> By using delete key. Evaluated values cannot be edited, but the whole thing itself should be removable.

Sounds good. If the inline bubbles are tied to probes, they will ale have a breakpoint like icon in the gutter.

> >  How would object values work? A popover on the bubble? The less UI the better.
> 
> I like how Light Table shows them inline: http://screencast.com/t/sEEsWgP65
> Popovers cover code behind them. Having more than one expanded popover can be troublesome.

Inline expansion is pretty disruptive too. It requires you to expand and collapse when you are done to get the space back. Popovers are transient and hide automatically when attention (the mouse) moves away. Inline expansion with multiple objects on the same line quickly becomes a chaos, as you can get in the console. I'ver been considering removing inline expansion in the console because of that (at least for multiple objects on one line) and using a popover.

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