I have a program that loops through most of the user objects in the database and performs functions on them. It is a standard database package that reports using dbms_output.
I start the program using the debugger. It runs then crashes with a ORA-06502 error (numeric or value error) after working for a while.
PL/SQL Developer shows me the program stack, but I would really like to ask Oracle about the variables in the program so that I can see which object my program was up to. I can't add debug output to dbms_output because that is buffered output and doesn't show when the program crashes. Is there any way of interrogating the current state of the program including variables at the crash point?
Is there another way I can view debug information without stepping through until the program crashes?
John
I start the program using the debugger. It runs then crashes with a ORA-06502 error (numeric or value error) after working for a while.
PL/SQL Developer shows me the program stack, but I would really like to ask Oracle about the variables in the program so that I can see which object my program was up to. I can't add debug output to dbms_output because that is buffered output and doesn't show when the program crashes. Is there any way of interrogating the current state of the program including variables at the crash point?
Is there another way I can view debug information without stepping through until the program crashes?
John