WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 151119
Web Inspector: Add Breakpoints and Scripts folders to Debugger sidebar
https://bugs.webkit.org/show_bug.cgi?id=151119
Summary
Web Inspector: Add Breakpoints and Scripts folders to Debugger sidebar
Matt Baker
Reported
2015-11-10 14:40:03 PST
Created
attachment 265232
[details]
[Image] Sidebar mockup * SUMMARY. Add Breakpoints and Scripts folders to Debugger sidebar. Now that scripts without breakpoints can be shown in the navigation sidebar, finding files with breakpoints on pages with a large number of scripts requires scrolling through a long list, or clicking "Show only resources with breakpoints". I propose we add two new folders, "Breakpoints" and "Scripts". The folder order in the sidebar would be: Global Breakpoints, Breakpoints, Scripts. See attached mockups.
Attachments
[Image] Sidebar mockup
(136.32 KB, image/png)
2015-11-10 14:40 PST
,
Matt Baker
no flags
Details
[Image] Sidebar mockup - filtered
(136.32 KB, image/png)
2015-11-10 14:40 PST
,
Matt Baker
no flags
Details
[Image] Sidebar mockup - filtered
(74.58 KB, image/png)
2015-11-10 14:42 PST
,
Matt Baker
no flags
Details
[Image] Global breakpoints always visible
(131.49 KB, image/png)
2015-11-10 15:15 PST
,
Matt Baker
no flags
Details
[Image] Debugger tab - no folders
(456.34 KB, image/png)
2015-11-10 15:31 PST
,
Matt Baker
no flags
Details
[Image] Sidebar with call stack/pause reason
(407.92 KB, image/png)
2015-11-21 17:53 PST
,
Matt Baker
no flags
Details
[Patch] Proposed Fix
(14.99 KB, patch)
2016-05-07 22:10 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-11-10 14:40:56 PST
<
rdar://problem/23488916
>
Matt Baker
Comment 2
2015-11-10 14:40:58 PST
Created
attachment 265233
[details]
[Image] Sidebar mockup - filtered With "Breakpoints Only" filter enabled
Matt Baker
Comment 3
2015-11-10 14:42:09 PST
Created
attachment 265234
[details]
[Image] Sidebar mockup - filtered
Nikita Vasilyev
Comment 4
2015-11-10 14:51:16 PST
I was never a huge fan of Xcode-style "Show only the resources with Breakpoints" button in Web Inspector. I think, if we introduce "Breakpoints" folder, we should remove the button. Alternatively, we could pull the resources with breakpoints to the top of the list and not introduce two additional folders.
Timothy Hatcher
Comment 5
2015-11-10 14:55:31 PST
I like the idea of sorting them to the top, and maybe add a divider.
Matt Baker
Comment 6
2015-11-10 15:15:03 PST
Created
attachment 265236
[details]
[Image] Global breakpoints always visible
Matt Baker
Comment 7
2015-11-10 15:15:23 PST
(In reply to
comment #5
)
> I like the idea of sorting them to the top, and maybe add a divider.
I'll mock this up next
Matt Baker
Comment 8
2015-11-10 15:31:36 PST
Created
attachment 265237
[details]
[Image] Debugger tab - no folders I kind of like the clean look. The "Show breakpoints only" filter button might no longer be needed.
Timothy Hatcher
Comment 9
2015-11-17 16:50:41 PST
I like the no-folder look. I suppose we can drop the filter button now. That should help remove confusion when using the errors filter.
Matt Baker
Comment 10
2015-11-21 17:53:29 PST
Created
attachment 266035
[details]
[Image] Sidebar with call stack/pause reason
Nikita Vasilyev
Comment 11
2015-12-10 20:31:37 PST
Would be nice to have this fixed. The "with breakpoints only" toggle has been removed and now it's hard to see, well, scripts with breakpoints.
Joseph Pecoraro
Comment 12
2016-04-29 15:07:20 PDT
Do we have any WIP patches for this that might be progressed? We removed very useful filtering of the Debugger Sidebar for breakpoints (
bug 151517
) planning for this, but this never materialized. The Debugger Sidebar is overwhelming without some form of filtering. I agree this approach would be better then a filter, but currently we are left with neither.
Matt Baker
Comment 13
2016-04-29 15:36:51 PDT
I have a patch that is nearly complete. Will get it posted by tonight.
Matt Baker
Comment 14
2016-05-07 22:10:22 PDT
Created
attachment 278351
[details]
[Patch] Proposed Fix
Timothy Hatcher
Comment 15
2016-05-08 16:35:23 PDT
Comment on
attachment 278351
[details]
[Patch] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=278351&action=review
> Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.js:107 > + this.filterBar.placeholder = WebInspector.UIString("Filter List");
Maybe Filter Sidebar. Not sure about List.
WebKit Commit Bot
Comment 16
2016-05-08 16:56:58 PDT
Comment on
attachment 278351
[details]
[Patch] Proposed Fix Clearing flags on attachment: 278351 Committed
r200566
: <
http://trac.webkit.org/changeset/200566
>
WebKit Commit Bot
Comment 17
2016-05-08 16:57:03 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug