Test window hangups Oracle 10G & RAC

cbengel

Member
Our company is currently trying to convert to Oracle 10G with RAC. We are experiencing hangup problems executing functions and stored procedures from the PL/SQL Developer Test window. The problem is random and only occurs with the test windows. We have tested the same functions within our applications without any issues. We also tried other tools (ex: Visual Studio) and could not re-create the problem. The same tests have also been performed within PL/SQL Developer against an Oracle 9i db without incident.

Is anyone else having this problem. Are there any recommendations for debug settings for 10G & RAC?

Example: For testing, I created a very simple function which merely returns "Hello World"

create or replace function testitoutfunction
return varchar2 is
outstuff varchar2(5);
begin
return 'Hello World';
end testitoutfunction;

If I execute this function from a sql window, it always runs successfully:

select testitoutfunction from dual

If I run it from within the PL/SQL test window, the screen hangs up most of the time. I'm clicking the "Start Debugger" (F9) icon. The options within the test window are no longer active and PL/SQL Developer shows the function as running. (red lightening bolt) I finally have to force termination and eventually get the following error "ORA-06508: PL/SQL: could not find program unit being called"
 
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.
 
Could I please have a status on this issue? The requested information was sent on May 1st. I requested assistance from the mediator last week. There has been no response except for the initial request for the debug file.
 
I too am having random locks with 7.0. I've had this problem off an on. Sometimes its very severe (every few minutes) and sometimes not for weeks or months.

Today was a bad day, so I tried the trial 7.1 and it seemed to be much better but I still eventually got a couple "random" lockups after 15-20 mins.

On a hunch, I disabled the Watch Variable Popups and I haven't got locked up since. This setting is in Preferences under "Debugger"

Hope this works for you.
 
I've tried the changing the debugger switchs and no luck! We are still having problems. I'm not sure if it is RAC or 10G.
 
I don't think its RAC only.

I'm the DBA here and we have moved to 10.2.0.3 on a new box (actually from 10.2.0.2) and we have developers experiencing this problem with the debugger window. Seems fairly intermittent but we don't have RAC. We did install a new ISA firewall and I'm wondering if that might be blocking traffic from the debug session back to the developer's workstation?
 
We finally found a work around! We had to create a separate entry in our tnsnames file for debugging. The debugging entry specifically connects to only one server bypassing RAC's decision making. This appears to be working.
 
We've narrowed our problem down to a ServerError trigger:

create trigger < trigger_name> after servererror on database
...
...

If we disable the trigger, the debugger works fine in both SQLDeveloper and Toad.

Enable trigger, you get dump files in the udump directory with the following info:
ndows thread id: 3056, image: ORACLE.EXE (SHAD)

*** ACTION NAME:(Debug Test Window - Script for p) 2007-05-17 15:06:32.659
*** MODULE NAME:(PL/SQL Developer) 2007-05-17 15:06:32.659
*** SERVICE NAME:(SYS$USERS) 2007-05-17 15:06:32.659
*** SESSION ID:(309.9652) 2007-05-17 15:06:32.659
Probe:write_request: backend error 2
Probe:read_pipe: exception: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Probe:write_request: exception: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
 
Back
Top