Closed
Bug 1380510
Opened 7 years ago
Closed 7 years ago
Error thrown in watch expression prevents loading proper source
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Oriol, Unassigned)
References
Details
1. Open the new debugger frontend 2. Add a watch expression which throws an error, e.g. null.foo 3. Go to the console tab and enter debugger; 123; 4. The debugger shows a SOURCEsource1272 file which contains null.foo instead of debugger; 123;
Comment 1•7 years ago
|
||
Thanks for sharing. This is a legitimate bug. I knew we did something similar when the debugger setting "pause on exceptions" is enabled, but I was not aware of this case. We should be able to fix this soon.
Comment 2•7 years ago
|
||
I filed an issue in github here: https://github.com/devtools-html/debugger.html/issues/3329
Comment 3•7 years ago
|
||
Oriol, we made some fixes to watch expressions, which landed last night. https://shipusercontent.com/2fec783060bff6b80c951194dae9962e/Screen%20Shot%202017-09-29%20at%2010.26.23%20AM.png I think this bug is fixed. There could very well be other watch expressions bugs with identical expressions
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•7 years ago
|
||
It seems this was already fixed by bug 1383803. I think the recent changes in watch expressions just create more inconsistencies without fixing the underlying problems.
Depends on: 1383803
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•