blob: 56a5de4335fc624296cc0928d7a80cb8e2db95fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
======================
Breaking on exceptions
======================
To instruct the debugger to pause on an `exception <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error>`_, tick these checkboxes in the :ref:`Breakpoints list <debugger-ui-tour-breakpoints-list>`:
- Pause on exceptions
- Pause on caught exceptions
.. image:: version64ui.png
:alt: Screen shot showing "Pause on exceptions
:class: center
When an exception occurs, the line where it occurs is highlighted in the source pane, with a squiggly red line under the problematic code. A tooltip describes the exception. Starting in Firefox 80, a disclosure triangle within the tooltip reveals a stack trace.
.. image:: exception-tooltip-stacktrace.png
:alt: Screenshot of a tooltip for an exception
:class: center
|