Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to debug package in sql developer?

799598Sep 22 2010 — edited Sep 22 2010
Hi,

I need to debug one of procedures in my package in sql developer version 1.5.5. In Debugging log, I got the following:

Connecting to the database <databasename>.
Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '2754' )
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.
Process exited.
Disconnecting from the database <databasename>.

I have granted both DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges from SYS as the following:

GRANT DEBUG ANY PROCEDURE TO ESM_OWNER;
grant DEBUG CONNECT SESSION to ESM_OWNER;

However, I still get the same error. What did I do wrong? I really appreciate any help to solve my problem.

Thanks in advance!!!
Cindy
This post has been answered by _Dylan_ on Sep 22 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 20 2010
Added on Sep 22 2010
4 comments
2,482 views