When writing things in the console, debugger breaks when "breaks on exception" is on
Categories
(DevTools :: Console, defect, P2)
Tracking
(Not tracked)
People
(Reporter: julienw, Unassigned)
References
(Blocks 1 open bug)
Details
STR:
- Open the devtools.
- Enable "break on exceptions" in the debugger.
- Switch to the console.
- Starts typing things, for example:
/unde/.test("bla")
=> debugger breaks at the error that should be swallowed by the console instead.
Comment 1•4 years ago
|
||
Julien, I tried this with both checkboxes, caught and uncaught, but could not get debugger to pause. Which error do you see being paused on?
Reporter | ||
Comment 2•4 years ago
|
||
I get this:
ReferenceError: te is not defined
I believe this is when the console tries to evaluate /unde/.te
while I type.
Comment 3•4 years ago
|
||
Still doesn't reproduce for me in Nightly, default and new profile.
Any idea if we miss cases where we let those errors sneak through and pause the debugger?
Comment 4•4 years ago
|
||
I'm not sure what to say, would you be able to make a screen recording?
ReferenceError: te is not defined
doesn't make sense as an error for /unde/.te
because that code doesn't error if you run it, it just returns undefined
.
Updated•4 years ago
|
Reporter | ||
Comment 5•4 years ago
|
||
This is weird: I restarted Firefox (and updated it to latest version) and I can't reproduce anymore now.
Comment 6•4 years ago
|
||
Thanks for double-checking, Julien! Let's close for now and re-open if this comes up again.
Description
•