通过可视化工具(如PL/SQL Developer、Oracle SQL Developer)调试Oracle的存储过程时,如果遇到如下错误信息:
...
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
ORA-06512: at line 1
This session requires DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges.
1 使用管理员身份登陆系统
2 grant debug any procedure , debug connect session to username;