Catching signals and PL/I conditions using environment variables

You can configure signals and conditions using environment variables that catch, catch but ignore, or not catch altogether:

CODEWATCH_SIGNALS_CATCH
Specifies that signals should be caught and turns on notifications.
CODEWATCH_SIGNALS_NCATCH
Specifies that signals should not be caught in the debugger.
CODEWATCH_SIGNALS_IGNORE
Specifies that signals should be caught and turns off notifications.
CODEWATCH_CONDITIONS_CATCH
Specifies the conditions that should be caught and turns on notifications.
CODEWATCH_CONDITIONS_NCATCH
Specifies that conditions should not be caught in the debugger.

Multiple values for a given variable should be separated by a comma.

Examples

set CODEWATCH_SIGNALS_CATCH=11

In this example, CODEWATCH_SIGNALS_CATCH specifies that the signal SIGSEGV(represented by the number 11) should be caught.

set CODEWATCH_CONDITIONS_CATCH=ERROR,ENDFILE

In this example, CODEWATCH_CONDITIONS_CATCH specifies that the conditions ERROR and ENDFILE should be caught.