blob: f3d4b1a4a6c810c8359a1370503661194676f43e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
GJS debugger. Type "help" for help
db> # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
db> # SPDX-FileCopyrightText: 2018 Philip Chimento <philip.chimento@gmail.com>
db> set ignoreCaughtExceptions false
db> c
Debugger statement, a() at throw.debugger.js:4:4
db> throw 'foobar' + 3.14;
Unwinding due to exception. (Type 'c' to continue unwinding.)
#0 a() at throw.debugger.js:4:4
4 debugger;
Exception value is:
$1 = "foobar3.14"
db> fin
Run till exit from a() at throw.debugger.js:4:4
Frame terminated by exception:
$2 = "foobar3.14"
(To rethrow it, type 'throw'.)
Unwinding due to exception. (Type 'c' to continue unwinding.)
#0 toplevel at throw.debugger.js:9:4
9 a();
Exception value is:
$3 = "foobar3.14"
db> throw
Exception: foobar3.14
Program exited with code 0
|