Starting with the 10g release, Oracle now offers a new interface, known as JDWP, for debugging PL/SQL and stored Java procedures. Toad fully supports both interfaces, but we recommend you continue to use DBMS_DEBUG unless you need to debug your Java
详解Oracle调试存储过程
一 调试关键步骤
1、在要调试的存储过程右键,选择编辑以进行调试,截图如下:
2、点击小瓢虫,弹出调试窗口,截图如下:
3、输入7839员工编号,点击确认,进行调试,截图如下:
4、该截图说明权限不够,需要添加scott用户的权限。
5、增加权限语句如下:
SQL> show user
USER 为"SCOTT"
SQL> connect system
输入口令:
已连接。
SQL> show user
USER 为"