About Debugging a PL/SQL Library

You set breakpoints in a PL/SQL library like you would in a trigger or PL/SQL program unit. First, open the library in the Object Navigator. Then, locate the library program unit in which you want to set a breakpoint.

A breakpoint set in a library is effective every time a module that calls the library is run in debug mode. For example, if you set a breakpoint in library A while running Module A, the breakpoint will also be hit when Module B, which also calls library A, is run in debug mode.

When your module runs in debug mode and encounters a breakpoint in a library, the debugger locates the PLL file and the PL/SQL Editor displays the source code of the library program unit where the breakpoint is set.

You can set breakpoints in libraries before you run the module and while the application is running or suspended. Breakpoints set during a Builder session are not lost when you stop debugging (without exiting the Builder). However, when you terminate the Builder session, the breakpoints are not saved.


About Breakpoints and Executable Source Lines

About Debugging a Stored Program Unit

Creating a Breakpoint