Open Bug 1919472 Opened 4 months ago Updated 4 months ago

Breaking on first script statement from Event Listeners Breakpoint panel shows "loading..." in editor

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: bomsy, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce

  1. Open the debugger
  2. Go to the Event Listener Breakpoints panel
  3. Check the Script > Script First Statement checkbox
  4. Open the console and evaluate anything (e.g. 1 + 1)

Actual results
It pauses and shows Loading... in the debugger editor.

Also shows the error RangeError: Invalid position 8 in document of length 5 in the browser console

Expected results
Should pause and show the expression evaluated in the debugger editor e.g 1 + 1

Severity: -- → S3
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.