Closed Bug 1930687 Opened 9 months ago Closed 9 months ago

Pause on caught exception settings isn't applied on DevTools startup

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox134 fixed)

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When restoring DevTools from a previous session where "pause on caught exception" was enabled, that particular setting looks visualy enabled, but won't be functional.

STR:

  • open devtools and enable pause on exception and then pause on caught exception
  • close and reopen devtools
  • open data:text/html,<script>try { throw new Error("foo"); } catch(e) {}</script>

The debugger should pause, but doesn't.
It will pause if you toggle the pause on caught exception setting off and on again.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a9146affb5eb [devtools] Fix the restoring of pause on caught exception when opening DevTools. r=devtools-reviewers,nchevobbe
Severity: -- → S3
Priority: -- → P2
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: