My Oracle Support Banner

SQLPlus Session Session Appears to be Hung when Debugging with DBMS_DEBUG (Doc ID 789613.1)

Last updated on JANUARY 30, 2022

Applies to:

PL/SQL - Version 11.1.0.6 and later
Information in this document applies to any platform.

Symptoms

SQLPlus Session Session Appears to be Hung when Debugging with DBMS_DEBUG

This code reproduces the problem:

Session 1 - session that is running the function we want to debug.

Session 2 - session that running the debugger.

Step 1 - Session 1:

 

In Oracle 10g Session 1 returns to the prompt with ORA-00900 (as expected)

/*
declare
*
ERROR at line 1:
ORA-00900: invalid SQL statement
ORA-06512: at "SYSTEM.LOOP_TESTER2", line 8
ORA-06512: at line 5
*/

Session 2 returns to prompt as well. 

In Oracle 11g Session 1 still hangs, and nothing happens.

Session 2 returns to the prompt.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.