RESOLVED INVALID108627
Web Inspector: Breakpoints lost if filename changes
https://bugs.webkit.org/show_bug.cgi?id=108627
Summary Web Inspector: Breakpoints lost if filename changes
Konrad Piascik
Reported 2013-02-01 06:06:27 PST
When you set a breakpoint on a script whose filename is autogenerated, those breakpoints will be lost when the page is reloaded.
Attachments
Vsevolod Vlasov
Comment 1 2013-02-01 06:57:02 PST
Could you please elaborate on autogenerated?
Konrad Piascik
Comment 2 2013-02-01 07:01:31 PST
(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
Comment 3 2014-11-28 19:22:02 PST
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
Note You need to log in before you can comment on or make changes to this bug.