Print Thread
Page 1 of 2 1 2
"not a variable" while debogging..
#43644 03/27/12 12:15 PM
Joined: Mar 2012
Posts: 4
turkey
serelay Offline OP
Member
OP Offline
Member
Joined: Mar 2012
Posts: 4
turkey
Hi all,
This is my info ;

PL/SQL Developer
Version 9.0.2.1621
01.421632 - Unlimited user license
Windows 7 (64-bit) 6.1 Build 7601 (Service Pack 1)

Physical memory : 4.054.136 kB (1.275.792 available)
Paging file : 4.194.304 kB (3.867.372 available)
Virtual memory : 2.097.024 kB (1.710.352 available)

Parameters
C:\Program Files\PLSQL Developer902\plsqldev.exe

Preferences
Session mode: Multi
OCI Library:
Use OCI7: False
Allow Multiple Connections: False

Preference Files
C:\Users\sergul\AppData\Roaming\PLSQL Developer\Preferences\default\Default.ini
C:\Users\sergul\AppData\Roaming\PLSQL Developer\Preferences\sergul\default.ini

Plug-Ins
*PL/SQL Documentation (plsqldoc) (C:\Program Files\PLSQL Developer902\PlugIns\plsqldoc.dll)
*Red Gate Deployment Plug-In (C:\Program Files\PLSQL Developer902\PlugIns\RedGate.dll)
*Version Control Interface 1.2 (C:\Program Files\PLSQL Developer902\PlugIns\VCS.dll)
(* is Active)

Aliases
ACE
ACE_L
AVIVA_VZX
AVIVATEST
BEHTCON
...

Homes
OraClient11g_home1 (C:\oracle)

DLLs
C:\oracle\bin\oci.dll

TNS File
C:\oracle\Network\Admin\tnsnames.ora

Using
Home: OraClient11g_home1
DLL: C:\oracle\bin\oci.dll
OCI: version 11.1
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0

Character Sets
Character size: 1 byte(s)
CharSetID: 39
NCharSetID: 2000
Unicode Support: True
NLS_LANG: TURKISH_TURKEY.TR8MSWIN1254
NLS_CHARACTERSET: WE8ISO8859P9
NLS_NCHAR_CHARACTERSET: AL16UTF16


While debugging a procedure in a package, coming over a variable, shows "not a variable".

Re: "not a variable" while debogging..
serelay #43649 03/28/12 06:25 AM
Joined: Dec 2005
Posts: 2,004
Roima Denmark
Member
Offline
Member
Joined: Dec 2005
Posts: 2,004
Roima Denmark
Hello serelay, have you tried to rightclick on the package and choose "Add debug information"? Of what type is the variable (parameter, local variable, record, array, public/private etc.)?

Re: "not a variable" while debogging..
Claus Pedersen #43688 04/03/12 06:30 AM
Joined: Mar 2012
Posts: 4
turkey
serelay Offline OP
Member
OP Offline
Member
Joined: Mar 2012
Posts: 4
turkey
yes i did. Also "Add debug information when compilig" parameter is checked. This is seriously suffering staff to debug. We have to code every variable or parameter with dbms_output.


Re: "not a variable" while debogging..
serelay #43694 04/03/12 11:34 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
Can you let me know the variable type?


Marco Kalter
Allround Automations
Re: "not a variable" while debogging..
Marco Kalter #43743 04/11/12 05:23 PM
Joined: Apr 2011
Posts: 49
Member
Offline
Member
Joined: Apr 2011
Posts: 49
best guess:
package is too large vs the amount of ram allocated to Oracle. package compiles OK but there's not enough room to add all the debug info. can only step through code but inspecting any variable does not work.

does this sound familiar? try debugging a smaller package and see if things work

solutions???
- allocate more ram to oracle.
- split package into smaller packages

Re: "not a variable" while debogging..
archer #43745 04/11/12 05:53 PM
Joined: Mar 2012
Posts: 4
turkey
serelay Offline OP
Member
OP Offline
Member
Joined: Mar 2012
Posts: 4
turkey
i tried a smaller package. but it is same. it shows "not a variable".
Maybe the problem is my version, downloaded the last release, nothing changed. frown

Re: "not a variable" while debogging..
serelay #43746 04/11/12 05:58 PM
Joined: Mar 2012
Posts: 4
turkey
serelay Offline OP
Member
OP Offline
Member
Joined: Mar 2012
Posts: 4
turkey
sorry, didn't see the previous message..

the variable types are ; varchar2, number, date

Re: "not a variable" while debogging..
serelay #43760 04/15/12 11:21 AM
Joined: Dec 2005
Posts: 2,004
Roima Denmark
Member
Offline
Member
Joined: Dec 2005
Posts: 2,004
Roima Denmark
Maybe "archer" is into something about the size of the package. I have experienced that there are two things that can make a package too big for Oracle to handle. The one thing, as archer has stated, is size. The other thing is the actual number of package variables, constants, types, methods etc. (private and public). If this number becomes too large, it can also inflict on how well Oracle can compile and debug the package.

"serelay", can you please tell us the number of public (package header) and private (package body) variables, constants, types, functions, procedures etc. your package have, respectively. Also, what types of parameters are your package methods typically called with (type of parameters, number of parameters, function/procedure, number of in, out, and in/out parameters etc.)

Re: "not a variable" while debogging..
Claus Pedersen #43937 05/16/12 12:12 PM
Joined: Apr 2011
Posts: 49
Member
Offline
Member
Joined: Apr 2011
Posts: 49
any news?

Re: "not a variable" while debogging..
archer #45277 12/14/12 01:31 PM
Joined: Mar 2007
Posts: 12
Swiss
L
Member
Offline
Member
L
Joined: Mar 2007
Posts: 12
Swiss
Hi,

I have exactly the same problem in 2-3 packages (and I've added debug information in my packages). The size of the package is "reasonnable": about 2700 lines and 50 procedures.

@Marco: I could send you a debug.txt file, but I need a email address for that. I cannot post it on Internet.

Thanks,

Laurent

Page 1 of 2 1 2

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.079s Queries: 15 (0.014s) Memory: 2.5655 MB (Peak: 3.0428 MB) Data Comp: Off Server Time: 2024-05-19 03:06:53 UTC
Valid HTML 5 and Valid CSS