PL/SQL Debugging Options

This section describes the Debug options which are found on the PL/SQL Debugging Options page at Accessing PL/SQL Debugging Options. For more information on PL/SQL debugging, see About the Oracle PL/SQL Debugger.

About Debugger Options

There are three debugger options or settings that you can make.

Accessing PL/SQL Debugging Options

To access the Debug Options Page, select Options… from the Tools menu. From the Options menu, select Oracle Developer Tools. Then select PL/SQL Debugging Options.

Screenshot of Accessing the PL/SQL Debugging Options

You can change the IP address and the starting and ending port numbers. You can check which database connections could be the source locations, and, you can change the order of database connections by selecting one and clicking Move Up or Move Down. This determines the order that the debugger searches for PL/SQL code.

Using the PL/SQL Debugging Options

The controls in the Debug tab of the PL/SQL Debugging Options are as follows:

Control Description
Hostname or IP Address The hostname or IP address of the machine where Visual Studio is located.
Starting Port Number Enter the starting number for a range of ports to be available for the Oracle PL/SQL Debugger. By default, the starting number is 65000.
Ending Port Number Enter the ending port number for the Oracle PL/SQL Debugger. By default, the ending number is 65535.
Hostname or IP Address as known by the database This is the IP Address or hostname that the database will use to connect back to the machine Visual Studio is located on. In most cases this will be the same value as the Hostname or IP address field above. In other cases, such as when using the database in a container, it might be different.
Database Connections

Specify a database connection as a location for a PL/SQL source by checking the database connection box.

Set the order of database connections that the debugger searches by selecting a connection and clicking Move Up or Move Down.

To deselect a database connection, uncheck the database connection box.

See Also Connection Dialog Box | Connecting to Oracle Database from Visual Studio