Bug 104587
Summary: | Web Inspector: Duplicate copies of source file in Sources panel | ||
---|---|---|---|
Product: | WebKit | Reporter: | johnjbarton <johnjbarton> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
johnjbarton
In the latest tip of tree build, if you stop on a breakpoint then edit a file, sometimes a second read-only copy of the file shows up. I'm unclear on exactly how to reproduce this.
The workaround is to manually verify that you have saved any edits then reload. The dup buffer will clear out.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
johnjbarton
Ok, this seems to happen when:
Edit one of two functions in the same file, both on the stack.
Click the call stack to the other function before saving.
After saving the duplicate buffer is gone.
I think forcing users to save first is much better. The current behavior is jarring -- if you notice -- and infuriating -- if you don't. The user experience is that the editor you were using just a second ago is now broken!
Brian Burg
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.