GDSX Manual

Design and Development
Extended General Device Support (GDSX) Manual134303
2-51
DEBUGFLAGS
DEBUGFLAGS
This dynamic parameter is bit encoded, and is used to set multiple configuration
controls.
Debug^error^trap
Debug^error^trap is used to indicate a file error number, which when detected by
TSCODE will cause TSCODE to take one of two actions:
Invoke DEBUG, which is done in case uscode^debug^flag is set to 1
Send a warning message with the file error number to the home terminal, in case
uscode^debug^flag is set to 0
If you want TSCODE to trap file errors with numbers greater than 255, use the
TRAPERROR configuration parameter with uscode^debug^flag.
Bounds^checking
Bounds^checking is used to indicate whether TSCODE is to do bounds checking on
buffers used during USCODE service routine calls (pseudo and utility procedures). If
this flag is set to 1, TSCODE ensures that all buffers used for I/O are in global or
extended memory, not in the swappable stack. If this flag is set to 0, TSCODE does not
check the location of the buffers used. See also the description of the
CHECK^BUFFER^BOUNDS utility procedure in Section 8.
Auto^trace^flag
Auto^trace^flag is used to turn on the trace facility at startup. With this flag set,
TSCODE traces all significant events.
Uscode^debug^flag
Uscode^debug^flag is used to indicate what action is to be taken if a fault or a user-
specified file error is detected by TSCODE. If this flag is set to 1, and if TSCODE
detects a fault or a file error specified in debug^error^trap (bits 0-7) or in the
TRAPERROR configuration parameter, then TSCODE calls DEBUG. If this flag is set
Internal DEFINE Name CONFIG^PARAMS Name Default Value Range
debugflags debug^flags %2 (pool check) N.A.
debug^error^trap debug^flags.<0:7> 0 (OFF) 0–255
bounds^checking debug^flags.<8> 0 (OFF) 0–1
auto^trace^flag debug^flags.<11> 0 (OFF) 0–1
uscode^debug^flag debug^flags.<12> 0 (OFF) 0–1
backup^debug^flag debug^flags.<13> 0 (OFF) 0–1
poolcheck^flag debug^flags.<14> 1 (ON) 0–1
debug^fatal^flag debug^flags.<15> 0 (OFF) 0–1