Open
Bug 1869495
Opened 1 year ago
Updated 1 year ago
webextension debugging: breakpoint not hit after switching frame
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
NEW
People
(Reporter: jdescottes, Unassigned)
References
(Blocks 1 open bug)
Details
Found while testing backward compat issues for 122, but also reproduces locally.
STRs:
- install https://addons.mozilla.org/en-US/firefox/addon/devtools-highlighter/
- open a tab on https://www.wikipedia.org/
- open devtools, select the "highlighter" devtools addon panel
- open another tab on about:debugging
- inspect the "devtools-highlighter" webextension
- (note: sometimes I don't get the iframe button at this step, repeat until you get it, maybe another bug?)
- open the debugger, select the source devtools/panel/devtools-panel.js
- set a breakpoint at the beginning of
findAndHighlight
(eg L43let query = inputEl.value.trim();
) - go back to your wikipedia tab, try to type something in the "Search query" field of the devtools-highlighter webextension
- (here breakpoint should be consistently hit)
- go back to the webextension toolbox, and change the frame to devtools/panel/panel.html
- try to hit the breakpoint again
The breakpoint doesn't seem to work anymore.
Reporter | ||
Updated•1 year ago
|
Severity: -- → S3
Priority: -- → P3
Updated•1 year ago
|
Blocks: dbg-breakpoint
You need to log in
before you can comment on or make changes to this bug.
Description
•