Lcatch

Use

Lists CATCH settings for a given signal, the CATCH status for a specified ON-unit, or the state of all signals and ON-units.

Command Syntax

LCATCH [/ALL | signal]

or

LCATCH [ON-unit]

where:

ALL
Lists signals to be caught and signals not to be caught.
signal
Can be either a signal name mnemonic (such as SIGALRM, SIGINT, and so on) or the signal number corresponding to that signal. Signal names may be specified in either uppercase or lowercase letters. If neither a signal name nor /ALL command is specified, all of the signals currently set to be caught display.
ON-unit
The name of an ON-unit at which you want stop notification whenever the debugger detects a condition that triggers the ON-unit.

Description

When used with the /ALL option, LCATCH lists two sets of signals, those that are currently set to be caught and those that are currently set to not be caught. The LCATCH command, with a signal name specified, lists Catch settings for that given signal.

Example

In the following example, the current Catch settings for the signal SIGALRM are listed.

CodeWatch> LCATCH SIGALRM 
SIGALRM not being caught.

In this example, the signals currently set to be caught and those that are set not to be caught are listed.

CodeWatch> LCATCH /ALL 

CATCH:
  (signals)
    SIGQUIT[3]      SIGIOT[6] 					SIGUSR1[10]      SIGSEGV[11]      SIGSUR2[12]
    SIGPIPE[13]     SIGTERM[15]    SIGTTIN[21]      SIGTTOU[22]      SIGURG[23]

  (on units)
    ENDFILE
CATCH (ignore):
  (signals)
    SIGINT[2]       SIGILL[4]      SIGTRAP[5]

NCATCH:
  (signals)
    SIGHUP[1]       SIGBUS[7]      SIGPFE[8]       SIGKILL[9]       SIGALRM[14]
    SIGSTKFLT[16]   SIGCHLD[17]    SIGCONT[18]     SIGSTOP[19]
    SIGTSTP[20]     SIGXCPU[24]    SIGXFSZ[25]     SIGVTALRM[26]
    SIGPROF[27]     SIGWINCH[28]   SIGPOLL[29]     SIGPWR[30]       SIGSYS[31]


More...
  (on units)
    ANYCONDITION                   AREA
    ATTENTION                      CONDITION
    CONVERSION                     ENDPAGE
    ERROR                          FINISH
    FIXEDOVERFLOW                  KEY
    OVERFLOW                       RECORD
    SIZE                           UNDEFINEDFILE
    UNDERFLOW                      USERCONDITION
    USERCONDITION(SS$_UNWIND)      VAXCONDITION
    ZERODIVIDE