When stepping the highlighted exception appears only after resuming
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
People
(Reporter: stepan, Assigned: stepan)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
https://www.loom.com/share/4901a3b1d1f54691bb5c81a201365950
[Actual result]:
- As shown in the screencast, the exception is highlighted only after resuming.
[Expected result]:
- The exception is highlighted immediately after stepping over the expression that throws the exception.
Assignee | ||
Comment 1•5 years ago
|
||
Nicolas could this be potentially an issue with the 'resourceWatcher'? If not, we are getting the exception details in why.frameFinished.throw.preview
in actions/pause/paused.js
so maybe we could just addException
from there to handle this case. Thanks.
Comment 2•5 years ago
|
||
I just checked and this isn't an issue with the resource watcher.
The console service does not emit the message until the debugger is resumed (so you don't get the error in the console until then too).
Maybe this could be something with how step over works? Would you know Jason?
Comment 3•5 years ago
|
||
Hmm, interesting. happy to dig into this if you get stuck stepan.
Assignee | ||
Comment 4•5 years ago
|
||
Highlights the exception immediately after stepping over the expression that throws the exception.
Depends on D78883
Updated•5 years ago
|
Comment 5•5 years ago
|
||
The severity field is not set for this bug.
:jlast, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•4 years ago
|
Comment 6•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:bomsy, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 7•1 year ago
|
||
This looks to be fixed now.
The highlighted exception now always appears (before, during and after stepping).
I confirmed using STR
- Open https://preview-js-test.glitch.me/
- Open debugger
- Goto script2.js
- Set breakpoint on line 2 inside
function a()
- Refresh the page
- Step over a couple of times
- Notice exception is highlighted before pause, during stepping and after
Updated•1 year ago
|
Description
•