Closed
Bug 925569
Opened 11 years ago
Closed 5 years ago
Console errors shouldn't trigger "pause on exceptions"
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: heroldtom, Unassigned)
References
Details
Attachments
(1 file)
778.93 KB,
image/gif
|
Details |
If I write faulty and wrong commands in the JS console and have the "pause on exception" feature enables code execution will be stopped and dev tools will switch to the debugger view. However, in the debugger view I see the last open file and have no idea/no method of checking the console code that failed. I would either expect that 1) I doesn't stop at all and logs the error to the console or 2) stops but shows me the right code in debugger. I attached a short screencast of this behavior.
Comment 1•11 years ago
|
||
I can confirm the bug. Panos, is there a way we can avoid pause on exception for the console? maybe based on a custom eval source location?
OS: Mac OS X → All
Hardware: x86 → All
Comment 2•11 years ago
|
||
Once we have bug 905700 fixed, we will be able to show users the eval'd code from the webconsole and you won't be paused at a hidden source anymore. Aside: that's a pretty nifty gif, how'd you make it?
Component: Developer Tools: Console → Developer Tools: Debugger
Depends on: dbg-source
Priority: -- → P3
Updated•10 years ago
|
Blocks: dbg-exception
Updated•10 years ago
|
Summary: Wrong code in console triggers "pause on exception" → Console errors shouldn't trigger "pause on exception"
Updated•10 years ago
|
Summary: Console errors shouldn't trigger "pause on exception" → Console errors shouldn't trigger "pause on exceptions"
Reporter | ||
Comment 3•10 years ago
|
||
(In reply to Nick Fitzgerald [:fitzgen] from comment #2) > Once we have bug 905700 fixed, we will be able to show users the eval'd code > from the webconsole and you won't be paused at a hidden source anymore. > > Aside: that's a pretty nifty gif, how'd you make it? @fitzgen: Sorry for the late reply. The tool is called LICEcap: https://github.com/lepht/licecap
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 4•5 years ago
|
||
This is no longer an issue with the new debugger.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•