Open Bug 1761298 Opened 3 years ago Updated 3 years ago

"Ignore a source": I expect an option to UNIGNORE console debugger statements

Categories

(DevTools :: Debugger, defect, P2)

Firefox 98
defect

Tracking

(Not tracked)

People

(Reporter: max.bugzilla, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0

Steps to reproduce:

Executing a code from the Console with debugger; in it, opens a "virtual" file "SOURCE" as a tab when the debugger; breakpoint is triggered.

You can "ignore" this SOURCE as the article suggests.

Then close the SOURCE tab.

It's not in the file list in the file/script browser (on the left / in the left pane).

Now Console debugger; statements will be ignored.

Actual results:

All Console "debugger;" statements ignored

Expected results:

Option to UNIGNORE console "debugger;" breakpoints.

Component: General → Debugger
Product: Firefox Build System → DevTools

We should detect eval coming from the console and either prevent the "ignore line" feature.

We might be able to have a unique URL for those and differentiate them, but that would have wider impacts. So a better long term fix is probably to stop identifying sources only based on their URL.

Blocks: dbg-blackbox
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: