I have noticed that when debugging code with PL/SQL Developer, debugger hangs on stepping over certain code. The first guess was to blame that line of code, but further investigation detected nothing suspicious in it. Just simple operations inside stored procedure or call to system functions. There is clearly no reasons to hang.
Querying system views led me to finding that current SQL_CODE of debugger session is:
declare ret binary_integer; begin ret := PBSDE.DEBUG_LOOP; end;
After some time PL/SQL Developer throws an error:
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
I have found related Note on Oracle Support site with exact same symptoms (Doc ID 1074885.1). But solution suggested there is either funny, or pathetic. I know that information on Oracle Support is not allowable to share, but such a thing deserves to break the rules. I will take the liberty of citing the solution part in full:
Do not run PL/SQL Developer in debug mode against an Oracle database.
Yes, that's it. So what options do I have?