Running and Debugging Functions and Procedures


You can use SQL Developer to run and debug PL/SQL functions and procedures.

In both cases, a code editing window is displayed. The following figure shows the code editing window being used to debug a procedure named LIST_A_RATING2, which is used for tutorial purposes in Debugging a PL/SQL Procedure.

Interface for debugging a PL/SQL subprogram

The code editing window has the following tabs:

The Source tab toolbar has the icons shown in the following figure.

Source tab toolbar icons

The Debugging - Log tab under the code text area contains the debugging toolbar and informational messages. The debugging toolbar has the icons shown in the following figure.

Debugging toolbar icons

The Breakpoints tab under the code text area displays breakpoints, both system-defined and user-defined.

The Smart Data tab under the code text area displays information about variables associated with breakpoints.

The Data tab under the code text area displays information about all variables.

The Watches tab under the code text area displays information about watchpoints.

For more information about developing, compiling, and using PL/SQL functions and procedures, see Subprograms and Packages: Usage Information.

Related Topics

Using Snippets to Insert Code Fragments

Run/Debug PL/SQL (dialog box)

Debugging a PL/SQL Procedure (tutorial)

Subprograms and Packages: Usage Information

SQL Developer Concepts and Usage