The React extension confuses breakpoints in HTML files
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(Not tracked)
People
(Reporter: jlast, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [debugger-reserve])
STR:
- go to http://janodvarko.cz/xhr-spy/
- add a breakpoint in xhr-spy/(index) on line 80
- refresh
ER:
- pause on 80
- see the breakpoint in the editor and panel
AR:
- pause
- file does not load
- breakpoint does not appear in the panel
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 2•5 years ago
|
||
I just tried this a couple times on autoland tip and can't reproduce it. How often does this happen for you?
Reporter | ||
Comment 3•5 years ago
•
|
||
here's a quick video -- https://www.loom.com/share/ce651fbe535344058c04e71f8bc6b684
it requires react devtools to be installed
it looks like loadSourceText works, so not sure where it is failing yet, but the server seems fine
Comment 4•5 years ago
•
|
||
I was able to reproduce a problem immediately after installing React DevTools add-on. No Firefox Restart, no Toolbox reopen.
But, slightly different observation:
- The BP icon in the gutter disappeared
- The BP was still hit
- The BP was not in the list of BPs (in the side panel)
- I can see the source
(Cache disabled in the Network panel)
There must be some racing since it's hard to reproduce again.
Honza
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 5•5 years ago
|
||
lowering the priority because it requires several things to be true (react addons, disabled cache, and html files)
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 6•4 years ago
|
||
This seems to work for me on Nightly, Jason could you verify?
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Description
•