[Webkit-unassigned] [Bug 135311] Web Inspector: shown() called on a content view when stepping over an instruction in the debugger

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 29 11:14:07 PDT 2014


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





--- Comment #8 from Joseph Pecoraro <joepeck at webkit.org>  2014-07-29 11:14:20 PST ---
(In reply to comment #3)
> The problem, then, doesn't seem to be that shown() is called multiple times on the same content view (because new content views for the same resource are repeatedly created), but rather, that we create new content views for every instruction we step over.

Do we really create a new ContentView?


> This also seems bad from the user experience point of view of stepping over ten instructions, and then wanting to click back to go back to the previous JS file, and having to click back 10 times just to skip over these 10 content views that were created for each pause event.

That sounds unintentional. I think the back forward list should be for specific user events.

    1. Showing a ContentView, by clicking a Script/Resource Tree Element in the source sidebar
    2. Jumping to a location by clicking a Breakpoint Tree Element in the debugger sidebar
    3. Jumping to a location by clicking a CallFrame Tree Element in the debugger sidebar
    4. Jumping to a location by clicking a (source:line:column) link anywhere in the UI
    5. Hiding a ContentView, this may want to add a new entry or replace the current entry

I think stepping in the debugger it would be unexpected that that adds a new back/forward entry other than the possibility of normal navigation with (1) or (5).

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