[Webkit-unassigned] [Bug 272199] New: Web Inspector: JavaScript breakpoint location is sometimes incorrect when inspector first shows up
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 4 16:58:49 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=272199
Bug ID: 272199
Summary: Web Inspector: JavaScript breakpoint location is
sometimes incorrect when inspector first shows up
Product: WebKit
Version: Safari Technology Preview
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: qianlangchen at apple.com
CC: inspector-bugzilla-changes at group.apple.com
Created attachment 470762
--> https://bugs.webkit.org/attachment.cgi?id=470762&action=review
Video demo: Breakpoint location is incorrect unless I click on the breakpoint
If you set a breakpoint in some file at line L and column C, sometimes when that breakpoint first shows up in the source side bar on the left, the source location is displayed as 1:(global C ignoring new lines) instead of L:C.
To reproduce (this is only one instance that the issue may reproduce, but it can happen on any website and any source file):
1. Go to https://search.brave.com
2. Open inspector's Sources tab
3. Make a breakpoint in the 0.DS3i2RRo.js file at line 5
4. Try reloading the page with the inspector open, navigating to another page and go back, reopening the inspector, and/or all of the above, to make the bug show up
- Due to https://bugs.webkit.org/show_bug.cgi?id=272098 sometimes the breakpoint just doesn't show up in the sidebar. Change the file filter from "By Type" or "By Path" to the other one if it doesn't show up
- When the bug happens, the breakpoint's location shows up as some 1:1507 instead of 22:9
See video demo. As you can see, the bug doesn't always happen.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240404/37f43d49/attachment.htm>
More information about the webkit-unassigned
mailing list