On Wednesday, August 24, 2022 at 11:02:03 AM UTC+10, gah4 wrote:
> As mentioned in another thread, some Fortran compilers
> have a special DEBUG feature. For each program unit
> (main program, subroutine, or function) before the END
> statement, you can put a DEBUG statement.
.
From the beginning, PL/I offered subscript bounds checking,
integer decimal and binary overflow checking, floating-point overflow
checking, division by zero checking, and many others.
All with facility to recover, to print diagnostic information
such as the values of variables.
As well, there was a CHECK option in which variable names
could be included. When the value of a named variable was changed,
PL/I automatically printed the new value.