how to test whether a procedure is recompiled or not
GaryBaoJul 28 2009 — edited Jul 29 2009create paceage my_debug is
debug constant boolean := true;
trace constant boolean := true;
end my_debug;
/
create procedure my_proc is
begin
if my_debug.debug then
dbms_output.put_line('Debugging ON');
else dbms_output.put_line('Debugging OFF');
end if;
end my_proc;
/
the manual said: if changing the value of debug to FALSE would cause my_proc to be recompiled without the debugging code. I hv two questions:
1, what does 'without the debugging code' mean?
2, how can I test whether my_proc is recompiled or not?
thanks