Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

compile debug causes package to become invalid

drlarsenAug 20 2008 — edited Sep 16 2008
We're running 10.2.0.4.0 and I have a large package (7730 lines) which compiles fine on it's own. However, if I try to enable debug mode, I get an error:

SQL> alter package mypkg compile debug package;

Warning: Package altered with compilation errors.

SQL> show errors;
No errors.


If I perform another alter command without the debug parameter, then it compiles fine:

SQL> alter package mypkg compile package;

Package altered.


Also, if I compile this package using the "Compile for Debug" button in SQL Developer then I actually get an error message:

Error(1): PLS-00707: unsupported construct or internal error [2603]

Does anyone have any idea what's going on here? I've spent the past couple days searching for a solution and while I've seen many cases of people having the PLS-00707 error, I wasn't able to find anyone who only receives it when compiling for debug.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 14 2008
Added on Aug 20 2008
5 comments
3,425 views