Print Thread
Page 3 of 5 1 2 3 4 5
Re: Debugger Hangs on Array
#14169 03/13/07 12:42 PM
Joined: Mar 2007
Posts: 12
Swiss
L
Member
Offline
Member
L
Joined: Mar 2007
Posts: 12
Swiss
Some new info ?

Re: Debugger Hangs on Array
#14170 03/16/07 02:56 PM
Joined: Jun 2004
Posts: 105
S
Member
Offline
Member
S
Joined: Jun 2004
Posts: 105
this is still an issue in beta 4

Re: Debugger Hangs on Array
#14171 03/21/07 02:34 PM
Joined: Jun 2004
Posts: 105
S
Member
Offline
Member
S
Joined: Jun 2004
Posts: 105
still an issue in beta5 and it's getting worse. now you may even not see the one-dimensional varray values neither by putting the cursor over them nor by copying the variable to the watches list. please, please fix this

Re: Debugger Hangs on Array
#14172 03/21/07 11:39 PM
Joined: Aug 1999
Posts: 22,487
Member
Offline
Member
Joined: Aug 1999
Posts: 22,487
If it's getting worse, then maybe you need to shutdown/restart your Oracle Server. We have done nothing in PL/SQL Developer to make it worse.


Marco Kalter
Allround Automations
Re: Debugger Hangs on Array
#14173 03/22/07 02:01 AM
Joined: Jun 2004
Posts: 105
S
Member
Offline
Member
S
Joined: Jun 2004
Posts: 105
marco, i believe that you'ne nothing done to make it worse. please try the same script and test at the marks. you will not see any values. tried with server restart, too.

CREATE OR REPLACE TYPE AR_NUM AS VARRAY(2147483647) OF NUMBER
/
CREATE OR REPLACE TYPE AR_AR_NUM AS VARRAY(2147483647) OF AR_NUM
/
CREATE OR REPLACE PROCEDURE DEBUG_TEST
AS
lar ar_num := ar_num();
lar_ar ar_ar_num := ar_ar_num();
ln_dummy PLS_INTEGER;
BEGIN
lar.EXTEND(10);
FOR
i IN 1..10
LOOP
--------------------------> PLACE CURSOR OVER ARRAY HERE
lar(i) := i;
END LOOP;
lar_ar.EXTEND(10);
FOR
i IN 1..10
LOOP
lar_ar(i) := lar;
END LOOP;
FOR
i IN lar_ar.FIRST..lar_ar.LAST
LOOP
FOR
e IN lar_ar(i).FIRST..lar_ar(i).LAST
LOOP
--------------------------> PLACE CURSOR OVER ARRAY HERE
ln_dummy := lar_ar(i)(e);
END LOOP;
END LOOP;
END DEBUG_TEST;
/


oracle server version is 10.2.0.2 and 9.2.0.7. if you need any addtional infos i'll send them all if they help to resolve the problem. pldev becomes unusable for me if this doesn't work.

Re: Debugger Hangs on Array
#14174 03/28/07 11:46 AM
Joined: Mar 2007
Posts: 12
Swiss
L
Member
Offline
Member
L
Joined: Mar 2007
Posts: 12
Swiss
Marco,

Did you try to reproduce the problem?

Thanks,

Laurent

Re: Debugger Hangs on Array
#14175 03/28/07 02:25 PM
Joined: Sep 2003
Posts: 389
London, UK
Member
Offline
Member
Joined: Sep 2003
Posts: 389
London, UK
Just out of interest, what possible use could anyone have for a VARRAY(2147483647) OF NUMBER?

Re: Debugger Hangs on Array
#14176 04/03/07 11:53 AM
Joined: Jun 2004
Posts: 105
S
Member
Offline
Member
S
Joined: Jun 2004
Posts: 105
in case of memory usage and performance it doesn't matter how big one declares a varray. 2147483647 is the highest possible size.

Re: Debugger Hangs on Array
#14177 04/03/07 12:02 PM
Joined: Sep 2003
Posts: 389
London, UK
Member
Offline
Member
Joined: Sep 2003
Posts: 389
London, UK
I mean, wouldn't it be simpler to use a normal nested table instead? Then you don't have to declare a limit of 2147483647.

VARRAYs are useful for multivalue columns in database tables, however I think the consensus is that using multivalue columns in database tables is not a good idea. Is that what they are being used for here?

Re: Debugger Hangs on Array
#14178 04/03/07 01:10 PM
Joined: Mar 2007
Posts: 12
Swiss
L
Member
Offline
Member
L
Joined: Mar 2007
Posts: 12
Swiss
It's maybe possible to use nested table instead, but anyway it would be a big change because our Varray ar_num is a type which is used in a lot of packages. We cannot change that now. And as said by sukhadukkham, it doesn't matter how big we declare a varray, 2147483647 is the highest possible size.

Pl/sql dev shouldn't freezes in this case.

For now, I just would like to know if allround can reproduce the problem. If yes, do they see any solution. For now, they didn't answer...

Page 3 of 5 1 2 3 4 5

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.043s Queries: 13 (0.010s) Memory: 2.5613 MB (Peak: 3.0400 MB) Data Comp: Off Server Time: 2024-12-04 06:40:07 UTC
Valid HTML 5 and Valid CSS