Bug 108627
| Summary: | Web Inspector: Breakpoints lost if filename changes | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Konrad Piascik <kpiascik> |
| Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | apavlov, burg, keishi, kpiascik, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Konrad Piascik
When you set a breakpoint on a script whose filename is autogenerated, those breakpoints will be lost when the page is reloaded.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Vsevolod Vlasov
Could you please elaborate on autogenerated?
Konrad Piascik
(In reply to comment #1)
> Could you please elaborate on autogenerated?
I can't remember the exact site, otherwise I'd provide the details, but I set a breakpoint on a file whose name contained a number, and sometimes when refreshing the page this number would change (cycle from 1-5). Ex:
foo1.js
foo2.js
foo3.js
...
Even though the file was identical the server sent it with a different filename.
Brian Burg
Closing this bug as it's in the old inspector component and I don't think the use case is that compelling. It would not be hard to support using existing regex-based breakpoints, though.
I filed a related bug here about automatically repositioning breakpoints: https://bugs.webkit.org/show_bug.cgi?id=139094