Closed Bug 1540083 Opened 6 years ago Closed 6 years ago

Disabling exception breakpoints is ignored on the first exception

Categories

(DevTools :: Debugger, defect)

67 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1538054

People

(Reporter: hbenl, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

  • load this example page:

<html><body>
<button onclick="throw new Error('foo')">Click me</button>
</body></html>

  • open the devtools and enable exception breakpoints
  • then disable exception breakpoints
  • click the button on the example page

Actual results:

The debugger breaks on the exception

Expected results:

The debugger should not break on the exception.
Note that if you resume and click the button again, the debugger doesn't break on the exception anymore. So disabling exception breakpoints works in principle, just not the first time.

Tested with Firefox 67.0b5 on Arch Linux (x86-64)

Component: Untriaged → Debugger
Product: Firefox → DevTools
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.