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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
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> # Currently the only option is "pretty" for pretty-printing. Set doesn't yet
db> # allow setting variables in the program.
db> c
Debugger statement, toplevel at set.debugger.js:4:1
db> p a
$1 = [object Object]
{}
db> set pretty 0
db> p a
$2 = [object Object]
db> set pretty 1
db> p a
$3 = [object Object]
{}
db> set pretty off
db> p a
$4 = [object Object]
db> set pretty on
db> p a
$5 = [object Object]
{}
db> set pretty false
db> p a
$6 = [object Object]
db> set pretty true
db> p a
$7 = [object Object]
{}
db> set pretty no
db> p a
$8 = [object Object]
db> set pretty yes
db> p a
$9 = [object Object]
{}
db> q
Program exited with code 0
|