Race condition: The original source has not been created yet when the debugger needs to pause on breakpoint
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(Not tracked)
People
(Reporter: bomsy, Assigned: bomsy)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
STR
Clone https://github.com/vuejs/petite-vue
yarn && yarn dev
Open devtools on http://localhost:3000/
Go to http://localhost:3000/tests/html.html
Open the debugger
Click this source from the source tree Users/hubertbomamanilla/Projects/petite-vue/src/ -> app.ts
Set breakpoint on line 13
Reload the page
ER
The debugger should pause on breakpoint
No warning in the browser console
AR
The debugger cannot find original source and logs a warning in the browser console.
| Assignee | ||
Comment 1•3 years ago
|
||
The issue here was sourcemapped (original) files are throttled using the SourceQueue so
sometimes on reload the original sources gets created late, and the source for the selected frame
does not yet exist when it is needed.
The SourceQueue is currently only used to for sourcemapped files, it's worth using the
opportunity to clean it all up.
Updated•3 years ago
|
Comment 2•3 years ago
|
||
The severity field is not set for this bug.
:Honza, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Description
•