Debugging PLSQL in Toad

后端 未结 3 2007
鱼传尺愫
鱼传尺愫 2021-02-10 07:50

I\'ve been creating packages for Oracle db using PL/SQL and i\'m trying to find a good way to debug a PL/SQL package without using the \"put_line\" command, does anyone have som

3条回答
  •  渐次进展
    2021-02-10 08:13

    To enable DEBUGING, Grant below privileges' and re-open TOAD. It always works for me.

        GRANT ALTER SESSION TO ;
        GRANT CREATE SESSION TO ;
        GRANT EXECUTE ON DBMS_DEBUG to ;
        GRANT ALTER ANY PROCEDURE TO ;
        GRANT CREATE ANY PROCEDURE TO ;
        GRANT DEBUG ANY PROCEDURE TO ;
        GRANT DEBUG CONNECT SESSION TO ;
    

提交回复
热议问题