Using Package DEBUG_EXTPROC
To help you debug external procedures, PL/SQL provides the utility package DEBUG_EXTPROC.
To install the package, run the script dbgextp.sql, which you can find in the PL/SQL demo directory.
To use the package, follow instructions in dbgextp.sql. Your Oracle Database account must have EXECUTE privileges on the package and CREATE LIBRARY privileges.
To debug external procedures:
Parent topic: About Debugging External Procedures