DEBUG

debug definitions and utilities

e.g.  dbss 'f 0'   monadic line 0
      dbss 'f :2'  dyadic line 2
      dbss 'f *:*' all lines

The call stack (dbstk'') is an 8-column boxed matrix:
  0  name
  1  error number, or 0 if this call is not erroneous
  2  line number
  3  name class
  4  definition
  5  source script
  6  argument list
  7  locals

Defined items
NameClassDescription
dbrVerbset suspension mode (0=disable, 1=enable)
dbsVerbdisplay stack
dbsqVerbstop query
dbssVerbstop set
dbrunVerbrun again (from current stop)
dbnxtVerbrun next (skip line and run)
dbretVerbexit and return argument
dbjmpVerbjump to line number
dbsigVerbsignal error
dbrrVerbre-run with specified arguments
dbrrxVerbre-run with specified executed arguments
dberrVerblast error number
dbermVerblast error message
dbstkVerbcall stack
dblxqVerblatent expression query
dblxsVerblatent expression set
dbtraceVerbtrace control
dbqVerbqueries suspension mode (set by dbr)
dbstVerbreturns stack text
dbstackVerbdisplays call stack with header

dbr................. (v) set suspension mode (0=disable, 1=enable)

dbs................. (v) display stack

dbsq................ (v) stop query

dbss................ (v) stop set

dbrun............... (v) run again (from current stop)

dbnxt............... (v) run next (skip line and run)

dbret............... (v) exit and return argument

dbjmp............... (v) jump to line number

dbsig............... (v) signal error

dbrr................ (v) re-run with specified arguments

dbrrx............... (v) re-run with specified executed arguments

dberr............... (v) last error number

dberm............... (v) last error message

dbstk............... (v) call stack

dblxq............... (v) latent expression query

dblxs............... (v) latent expression set

dbtrace............. (v) trace control

dbq................. (v) queries suspension mode (set by dbr)

dbst................ (v) returns stack text

dbstack............. (v) displays call stack with header

if  x.=0  ignores definition and source script (default)
       1  displays full stack
y. is the number of lines to display, all if empty
limits display of each item to length 30.

system\main\debug.ijsRelease: 4.02/1998-11-13/12:26