Thanks gpsingh, I need to find out how to use dbms_debug and dbms_profiler.