Halting when certain PL/I functions are called
This topic describes how to halt just before or just after a routine
is called by using the AT CALL
and AT ENTRY
commands.
The Example: sample PL/I program for debugging is used to describe these
commands.
To use the AT CALL
command, you must compile the
calling program with the TEST
compiler option.
To halt just before READTOK is called, enter the following command:
AT CALL READTOK ;
To use the AT ENTRY
command, you must compile
the called program with the TEST
compiler option.
To halt just after READTOK is called, enter the following command:
AT ENTRY READTOK ;
To halt just after TOK is called and only when the parameter tok
equals 2,
enter the following command:
AT ENTRY TOK WHEN tok='2';