Skip to Main Content

SQL Developer

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!

Oracle SQL Developer 3.0: PL/SQL debugging of anonymous blocks: ISSUES

319958Apr 1 2011 — edited Aug 30 2011
Hello,
I just downloaded the Oracle SQL Developer 3.0. I have been using the EA releases as they came into existence and was happy to see the released version. So I immediately tried to debug an anonymous block (something I did not try to do in the EA releases), and nothing happened.

The "Debug" was grayed out and the key-chord "ctrl-shift-F10" did nothing. I found this forum:
9306455
and followed Vadim Tropashko's advice. This did nothing for my anon. block but worked fine for the simple example.

So I started to whittle my anon. block down to find the culprit, here is a repeatable breaking point for me:
declare
    stmt1 long;
    stmt2 long;
    stmt3 long;
    stmt4 long;
    p_data varchar2( 500 );
    i      varchar2( 10 );
BEGIN
    STMT1 := 1;
    STMT2 := 1;
    STMT3 := 1;
    STMT4 := 1;
    
    --the moment this is in the block "Debug" is no longer an option
     select
        SendDocumentResult
       into
        p_data
       from
        XMLTABLE( '/data' 
                PASSING 
                xmltype.createxml( '<?xml version="1.0" encoding="utf-8"?><data><SendDocumentResult>test</SendDocumentResult></data>' ) 
                COLUMNS SendDocumentResult varchar2( 1000 ) PATH 'SendDocumentResult' ) ;
end;
The moment I have the SELECT INTO ... XMLTABLE() it fails (a normal SELECT INTO works just fine).

Is this a problem with my environment or is a problem with SQL Developer 3.0.04. Looking over K's comments, it seems the debug worked for 'simple' blocks, so I wonder if this is just out-of-scope...

My environment:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production     
PL/SQL Release 11.2.0.1.0 - Production                                           
CORE	11.2.0.1.0	Production                                                         
TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production                
NLSRTL Version 11.2.0.1.0 - Production

and Oracle SQL Developer
3.0.04 (Buld Main 04.34 with bundled Java) on a Window's XP box.
This post has been answered by Vadim Tropashko-Oracle on Apr 1 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2011
Added on Apr 1 2011
5 comments
524 views