Print Thread
Debugger hangs when constraint is violated
#36321 10/30/09 10:16 AM
Joined: Nov 2003
Posts: 35
F
Member
OP Offline
Member
F
Joined: Nov 2003
Posts: 35
The debugger hangs when the executed procedure violates a constraint.
Sample:

CREATE TABLE dbg_err (col1 NUMBER(5) NOT NULL) TABLESPACE USERS;
CREATE OR REPLACE PACKAGE dbg_err_pck IS
PROCEDURE tst;
END dbg_err_pck;
/
CREATE OR REPLACE PACKAGE BODY dbg_err_pck IS
PROCEDURE tst IS
BEGIN
INSERT INTO dbg_err VALUES(NULL);
END tst;
END dbg_err_pck;
/

If I execute the procedure in a test window I get the expected error, but if I execute the procedure in the PLSQLDeveloper debugger, the debugger does not return. If I try to terminate this session I get "Access violations" in oran11.dll, ntdll.dll. I have to kill the PLSQLDeveloper process in the task manager.

The issue is reproducible.

PL/SQL Developer Version 8.0.0.1480
Windows XP Professional 5.1 Build 2600 (Service Pack 2)
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production

Regards

Re: Debugger hangs when constraint is violated
FrankMUC #36336 10/30/09 01:09 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
To obtain some more diagnostic information, can you modify the shortcut and add the debugsql parameter? For example:

"C:\Program Files\PLSQL Developer\plsqldev.exe" debugsql

Reproduce the problem and send me the debug.txt file that is generated in the PL/SQL Developer directory.


Marco Kalter
Allround Automations
Re: Debugger hangs when constraint is violated
Marco Kalter #36340 10/30/09 06:52 PM
Joined: Nov 2003
Posts: 35
F
Member
OP Offline
Member
F
Joined: Nov 2003
Posts: 35
debug file transferred by e-mail
Regards

Re: Debugger hangs when constraint is violated
FrankMUC #36487 11/12/09 02:06 PM
Joined: Nov 2003
Posts: 35
F
Member
OP Offline
Member
F
Joined: Nov 2003
Posts: 35
any hints, any news?

Re: Debugger hangs when constraint is violated
FrankMUC #36498 11/13/09 10:23 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
Can you confirm that you can cancel by pressing the "Break" button?


Marco Kalter
Allround Automations
Re: Debugger hangs when constraint is violated
Marco Kalter #36579 11/24/09 03:32 PM
Joined: Nov 2003
Posts: 35
F
Member
OP Offline
Member
F
Joined: Nov 2003
Posts: 35
Yes, I can cancel the debug session by pressing the 'Break' button but the PLSQL Developer is completely blocked. The Window title shows "Keine R


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.037s Queries: 14 (0.013s) Memory: 2.5164 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-04 06:22:37 UTC
Valid HTML 5 and Valid CSS