Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> dbms_debug, any experience?
Hello
I wanted to get familiar with dbms_debug - unfortunatly only with little success:
I am working on 8i ane here's what I tried:
I opened two sessions (say A and B)
In session A, I did:
SQL> select dbms_debug.initialize from dual;
INITIALIZE
Then, in Session B:
SQL> exec dbms_debug.attach_session('000B008B0001')
PL/SQL procedure successfully completed.
Back in Session A:
SQL> exec dbms_debug.debug_on;
PL/SQL procedure successfully completed.
Then, in Session B, I want to set a breakpoint:
declare
prog_inf dbms_debug.program_info;
ret binary_integer;
bp_id binary_integer;
run_info dbms_debug.runtime_info;
begin
prog_inf.namespace := dbms_debug.namespace_pkgspec_or_toplevel; prog_inf.name := 'PPP'; prog_inf.owner := 'F'; prog_inf.dblink := null; prog_inf.line# := 8;
The result tells me, that it suceeded. However, the breakpoint id is 0 (it is always zero, even If I call the anonymous block again with another line number).
I have also compiled f.ppp with debug (alter procedure ppp compile debug) and ppp is a valid procedure, so...
...What am I doing wrong?
Rene
-- Recherchen im schweizerischen Handelsregister: http://www.adp-gmbh.ch/SwissCompanies/Search.php3Received on Mon Apr 15 2002 - 14:32:52 CDT
![]() |
![]() |