When the debugger is paused, only then would the section with scripts and breakpoints need a header, which should just say "Scripts" at this point since scripts without breakpoints show as well, and because other information aside from just breakpoints is planned for the future.
Created attachment 248999 [details] [PATCH] Unpaused debugger hides header, etc
Created attachment 249000 [details] [SCREENSHOT] 1. default sidebar view
Created attachment 249001 [details] [SCREENSHOT] 2. paused view
Created attachment 249002 [details] [SCREENSHOT] 3. paused view with collapsed script content
Created attachment 249004 [details] [SCREENSHOT] 4. resumed with collapsing being ignored
Created attachment 249024 [details] show only enabled Breakpoints Re: Screenshot 1-4 I like the "Scripts" header and I would even rename the placeholder in the search bar from "Filter Breakpoint list" to "Filter Scripts list" because it looks like you're not just filtering files that contain Breakpoints. What I'm missing is a quick way of removing all Breakpoints and a list of Breakpoints. But I'm not sure how strong I actually miss that feature. In case you want to spend more time on that I would propose adding a checkbox "Only show enabled Breakpoints" or a Button รก la Xcode next to the search bar (See Screenshot).
We could maybe the filter button a tri-state. All scripts with breakpoints, all scripts with enabled breakpoints, off (all scripts).
Comment on attachment 248999 [details] [PATCH] Unpaused debugger hides header, etc You will want to update the filter placeholder. See line 111.
Comment on attachment 248999 [details] [PATCH] Unpaused debugger hides header, etc Clearing flags on attachment: 248999 Committed r181768: <http://trac.webkit.org/changeset/181768>
All reviewed patches have been landed. Closing bug.
<rdar://problem/20266212>