Enable PL/SQL Warnings:
ALTER SESSION SET PLSQL_WARNINGS = 'ENABLE:ALL'
Then compile source in Debug mode.
This results in the following warnings:
SELECT text FROM user_errors;
PLW-06013: deprecated parameter PLSQL_DEBUG forces PLSQL_OPTIMIZE_LEVEL <= 1
PLW-06015: parameter PLSQL_DEBUG is deprecated; use PLSQL_OPTIMIZE_LEVEL = 1
Looks like PLSQL_DEBUG has been deprecated for a long time:
The
PLSQL_DEBUG
parameter is deprecated. It is retained for backward compatibility only.
I guess this parameter is set by TOAD?