grant debug any procedure to appuser;
grant debug connect session to appuser;
You must compile with debug option procedure before to run.
alter procedure my_proc compile debug;
http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9013.htm#i2062318
— 
 | |
Connect the current session to a debugger. 
 | |
Debug all PL/SQL and Java code in any database object. Display information on all SQL statements executed by the application. 
Note: Granting this privilege is equivalent to granting the  
DEBUG object privilege on all applicable objects in the database. | 
Hiç yorum yok:
Yorum Gönder