Closed Bug 925569 Opened 11 years ago Closed 5 years ago

Console errors shouldn't trigger "pause on exceptions"

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: heroldtom, Unassigned)

References

Details

Attachments

(1 file)

Attached image screencast2.gif
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.
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
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
Summary: Wrong code in console triggers "pause on exception" → Console errors shouldn't trigger "pause on exception"
Summary: Console errors shouldn't trigger "pause on exception" → Console errors shouldn't trigger "pause on exceptions"
(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
Product: Firefox → DevTools

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.

Attachment

General

Creator:
Created:
Updated:
Size: