Grayed out debug

Bobh

Member
I have a test script window with a pl/sql block inside. How do I get into debug mode? All the options under debug are gray except for toggle "breakpoint" and modify "breakpoints". I'm on 7.0.3.1123
 
Is the "Start Debugger (F9)" button on the Test Window toolbar also disabled? If so, perhaps you are using "Single Session Mode" (Tools > Preferences > Oracle / Connection)? The debugger requires Dual Session Mode or Multi Session Mode.
 
Multi session is checked. The toolbar button is also disabled. I've emailed you a screen shot. Thanks for your help.
 
If you are trying to debug an anonymous PL/SQL block then you can forget it. You can only use debug on compiled functions/procedures/packages, provided that they are compiled 'with debug' info.
 
In version 7.0.3 and on Oracle Server 10g or later, you can only step through the code of stored program units compiled the database. You cannot step through the Anonymous PL/SQL Block of the Test Script. This is enhanced in PL/SQL Developer 7.1.
 
Back
Top