When debugging PL/SQL in JDeveloper, you require the Oracle8i Release 8.1.7 database or greater. For Java stored procedure debugging in JDeveloper, you require the Oracle9i Release 2 database.
Refer to the appropriate section below for additional prerequisite information:
Ensure that the following prerequisites have been met before performing PL/SQL debugging:
CREATE ANY PROCEDURE
DEBUG ANY PROCEDURE
DEBUG CONNECT SESSION
init.ora
file. See the Oracle database
documentation for more information about this file.
ALTER SESSION SET PLSQL_DEBUG = true
, then create or recompile the object you want to debug.
ALTER <procedure, function,
package> <name> COMPILE DEBUG;
Ensure that the following prerequisites have been met before performing Java stored procedures debugging:
The Java code must be deployed to the database and compiled with debug information. From JDeveloper, make sure the Include Debug Information check box is selected in Tools | Project Properties - Compiler, then deploy the Java stored procedure.
To step through a Java stored procedure, the Java source must be available in your JDeveloper project and must be consistent with what is deployed to the database.
Related topics
About Debugging Remote PL/SQL Programs
Debugging PL/SQL Programs and Stored Procedures
Copyright © 1997, 2004, Oracle. All rights reserved.