Multitier Application Debugging Mode

The Multitier Application Debugging mode allows you to seamlessly debug both .NET and PL/SQL code from within a single Visual Studio instance. You can step directly from your .NET code into the PL/SQL code and back out again, passing live data and debugging that data. This is most useful in client server applications (rather than ASP.NET web applications).

This section contains the following topics:

How Multitier Application Debugging Works

When an application being debugged from within Visual Studio executes a PL/SQL program that contains an enabled breakpoint, the debugging process switches from the application tier (for debugging the application) to the database tier (for debugging the PL/SQL program). It stops at the enabled breakpoint of the PL/SQL program.

From there on, you can use the Oracle PL/SQL Debugger to control the PL/SQL program execution and examine debugging information. When the PL/SQL program finishes executing, the debugger switches back to the application tier.

The Debug Location Toolbar displays Oracle Debugger once the Oracle PL/SQL Debugger starts. You can use the Debug Location Toolbar to switch between the tiers.

Requirements for Multitier Application Debugging

Prior to using Multitier Database Debugging, perform all the setup requirements listed in PL/SQL Debugging Setup.

Before Using Multitier Application Debugging

Before using Multitier Application Debugging, you must do the following:

Debugging a Multitier Database Application

For a detailed guide in using multitier database application debugging, follow the steps in the Debugging Setup Checklist.