Bug 187992

Summary: Web Inspector: Always switches to sources pane when hitting breakpoint
Product: WebKit Reporter: Martin Häcker <spamfaenger>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bburg, inspector-bugzilla-changes, nvasilyev, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: All   
OS: All   
Attachments:
Description Flags
Screen Cast of how the bug happens none

Description Martin Häcker 2018-07-25 01:54:03 PDT
Created attachment 345747 [details]
Screen Cast of how the bug happens

How to reproduce:

1. Set a breakpoint
2. Reload page to hit the breakpoint
3. Be annoyed when the pane switches to something completely unrelated (sources pane in this case)
4. Switch back to the debugger pane to continue working
Comment 1 Radar WebKit Bug Importer 2018-07-25 10:03:04 PDT
<rdar://problem/42587216>
Comment 2 Nikita Vasilyev 2018-07-25 11:05:14 PDT
Thank you for reporting the bug, Martin.

Sources tab is an experimental feature what is unfinished. Currently, the Sources tab is the same as Resources.

You have the experimental Sources tab enabled in settings (the gear icon on the top right side of the Web Inspector). This bug shouldn't happen if you disable this unfinished experimental feature by unchecking:

Settings -> Experimental -> Sources: [ ] Enable Sources Tab

Please let me know if this helped.
Comment 3 Martin Häcker 2018-07-26 00:38:40 PDT
Yes, this seems to be a workaround. Thanks!