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

Hello
I just downloaded the Oracle SQL Developer 3.0. I used EA versions because they have emerged and was happy to see the final version. So I immediately tried to debug an anonymous block (something I was not looking to do in EA versions) and nothing happened.

The "Debug" is grayed out and the string 'ctrl-SHIFT-F10' key did nothing. I found this forum:
Re: 30EA1: debugging of anonymous block?
and Vadim Tropashko follow-up advice. This has nothing to my anonymous block but has worked well for a simple example.

So I started to whittle my anonymous block to the bottom to find the culprit, here's a breaking point repeatable 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 that I SELECT INTO... XMLTABLE() it fails (a normal SELECT INTO works very well).

Is this a problem with my environment or there's a problem with SQL Developer 3.0.04. Overlooking the comments of K, it seems that debugging has worked for 'simple' blocks, so I wonder if it's just out of reach...

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.

The analysis has been the problem indeed. Can offer no alternative workaround, that packing horror XML in a view.

Tags: Database

Similar Questions

  • pl/sql-anonymous block filled

    Hello
    I have executed this PL/SQL block without errors, but I don't see that the result .i can see anonymous block realized as a result.
    I use SQL Developer...
    Help, please

    Set serveroutput on
    declare
    form constant char (20): = "square";
    real (6) region;
    side constant number (6): = 2;
    PI constant number (4,2): = 3.14;
    constant number of RADIUS (5): = 2;
    Len number constant (5): = 3;
    constant number of width (5): = 3;
    Start
    case
    What = "square" shape then area: = side * side;
    shape = "circle".
    then
    Start
    area: pi = *(radius*radius);
    dbms_output.put_line (' the area of the circle is :'|| area);
    end;
    what form = "reactangle."
    then the area: = len * width;
    on the other
    Start
    dbms_output.put_line (' not correct form ": form");
    raise program_error;
    end;
    end case;
    commit;
    end;
    /


    Thank you

    to_learn wrote:
    Hello
    I have executed this PL/SQL block without errors, but I don't see that the result .i can see anonymous block realized as a result.
    I use SQL Developer...

    displayed code performs as programmed.

    Nothing Is displayed for the 'square '!

  • In PL/SQL anonymous block

    How we refer the anonymous block in PL/SQL? And what is the purpose of anonymous blocks?

    This can be useful
    http://DocStore.Mik.UA/orelly/Oracle/PROG2/ch15_03.htm

  • PL/SQL anonymous block - try to call the function within cursor

    Hello-

    I need to create an anonymous block that contains a cursor and function. I want to call the function from the cursor and function will essentially have an ID as parameter and will return a list of values comma separated.

    However, when I try to do it I get the error 'function 'GET_PAYMENT_DATES' is not usable in SQL.

    Does anyone know of a workaround? I'm trying to avoid having to store this function.

    Thank you
    Christine

    Well you can't do this using an sql not stored function.
    What you could do is to increase your sort_area_size which can help you to overcome the performance Bug.

    for example: alter session set sort_area_size = 64000;

    other than that, it seems that you need a stored function

  • Oracle SQL execution order issues, I how to solve this problem in OBIEE. My god.

    I create the model of business in administrative tools, the model along with below sql (viewA and viewB both are seen):

    Select distinct b.name
    for view a, viewB b
    where a.con_id = b.con_id
    and a.b_id = b.id
    and b.b_id = 4
    and a.student_id = 1234

    but I use sql cannot get a result (incorrect result).

    If I change sub sql, it can get the result 2 (correct), my question is that I can't control table to execute the order in response. so I how to fix this issues please give me some advice. Thank you

    Select / * + ordered * / separate b.name
    Of
    viewA has,
    viewB b
    where a.con_id = b.con_id
    and a.b_id = b.id
    and b.b_id = 4
    and a.student_id = 1234
    ;

    If you want to add an indicator, see this documentation
    http://download.Oracle.com/docs/CD/E12103_01/books/AdminTool/admintool_PhysicalSetup31.html

  • pl/sql anonymous block

    Hello
    I use the apex of oracle 10g 3.2

    I want to display some fields in a table format for which I use anonymous pl/sql block.
    I use the slider for that.

    declare
    News c is select...
    Start
    I'm in the loop c
    -----------
    HTP.p ();
    ---------
    end loop;
    end;

    Databasetable A has 3 columns.
    Name of the person, education, brands.

    Now, a person can have more than one education as

    A 12TH-90
    A 10-98
    B - b - 90

    Now if I just use a slider I row-by-row and I just use htp.p and display fields.

    Now what I want is whenever there are more then one entry for a person I want to view together
    that is in one table itself all the information should be there.

    p. ex. A - 10th, 12th - 98.90
    B - b - 90

    So in a page, you need only one table for each person. If there are more entries for a person in the db table,
    then I should the club upward?

    How can I reach it?

    Thank you

    Hello

    See aggregation Techniques String

    * 009 *.

  • Region of HTLM apex 4.0 Refresh (sql/pl sql anonymous block)

    Is it possible to update this area of dynamic action through refreshment?

    No luck for me.

    Thank you

    Hello

    M don't know if pl/sql refreshment APEX 4.x area or not...

    But there is a work around to do the same thing to the point 3.2 and will work for 4.0...

    Instead of the region of PL/SQL create HTML Region and enter the source

    Then, through a combination of javascript and ondemand process... fill your div with content you want...

    Kind regards
    Shijesh

  • Oracle SQL Developer to the database unifying connection

    Hello community!

    I am developing a SQL string that will pull data from various processes of cost (i plan to wrap the dataview object in a cube and publish a dashboard after that). I was wondering if there is any way to connect oracle SQL Developer for oracle hosted instance unify to create code more efficiently? If so, explain the steps for me please?

    I can get the following information of Oracle BI Publisher, see Exhibit A.

    I have to fill in the fields in Appendix B and this is where I don't know how to do this, see Exhibit B.

    Your help is highly appreciated

    Concerning

    Amir

    Hi Amir - there is currently no way to directly connect to the DB for unifying hosted environments. We are currently working on this issue.

    In the meantime, you can use the SQL Editor in your BI Publisher server interface. You build instructions SQL can then be pasted in via data in unifying views.

  • Why is-menu Oracle SQL Developer navigation so slow?

    For example if I click Tools, it takes like 5 seconds to open.

    The cursor icon taking also like 2-3 seconds to next day where it is.

    Oracle SQL Developer has impressive features, but I can't use it like that.

    Can anyone help or point in a direction?

    It's a nice machine but I remote desktop to it, but the rest of the applications are working fine.

    #added it

    AddVMOption - Dsun.java2d.noddraw = true

    AddVMOption - Dsun.java2d.ddoffscreen = false

    looks a bit better

  • Partitions don't synchronize only not - Oracle SQL Developer 4.1.3.20

    Hello

    First of all, thanks a lot for developers for this great tool.

    I use the Data Modeler which comes with Oracle SQL Developer 4.1.3.20.

    In the 12 c database, I created the following table:

    CREATE

    TABLE MMOURA. TEST_TABLE

    (

    NUMBER OF ID_TEST_TABLE (10) NOT NULL

    DATE_TEST_TABLE DATE NOT NULL

    )

    ORGANIZATION HEAP PCTFREE 10

    LOGGING NOCOMPRESS NO INMEMORY

    NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;

    I import with Data Modeler and add the partition:

    CREATE

    TABLE MMOURA. TEST_TABLE

    (

    NUMBER OF ID_TEST_TABLE (10) NOT NULL

    DATE_TEST_TABLE DATE NOT NULL

    )

    ORGANIZATION HEAP PCTFREE 10 TABLESPACE SYSTEM NOT LOGGING NOCOMPRESS NO INMEMORY RANGE PARTITION

    (

    DATE_TEST_TABLE

    )

    INTERVAL OF

    (

    NUMTOYMINTERVAL (1, 'MONTH')

    )

    (

    PARTITION P_BEFORE_2010 VALUES LESS THAN (TO_DATE (JANUARY 1, 2010 ',' DD/MM/YYYY "")) NOCOMPRESS

    )

    NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;

    So I can create a partition and generates the correct code.

    I click on "Synchronize data dictionary with model" and see the differences with the model and the database.

    In the models 'compare', 'Physical Details' is red. 'Partition' is red, "Selected" are marked, "Source table: TEST_TABLE ' is YES and" target Table: TEST_TABLE "is no.

    "Partitioning" is marked, and I can see the new partition "P_BEFORE_2010."

    teste_partition_chamado_oracle.png

    But when I click on 'Overview of DOF', theres no changes:

    -Generated by Oracle SQL Developer Data Modeler 4.1.3.901

    -in: 2016-01-14 14:19:50 BRST

    -site: database Oracle 12 c

    -type: Oracle Database 12 c

    -Oracle SQL Developer Data Model Summary Report:

    --

    -CREATE TABLE 0

    -CREATION OF INDEX 0

    ...

    ...

    In the tool preferences, model, synchronization, it is marked:

    FUNCTION

    PACKAGE

    PROCEDURE

    ROLE

    SEQUENCE

    SYNONYM

    TABLESPACE

    In "Import Options", it is marked:

    Partitions

    Triggered

    What I am doing wrong? Is this some sort of bug?

    Hi Marcio,

    I'm afraid that data Modeler does not "DOF Preview" statements for changes in the distribution.

    Kind regards

    David

  • SEVERE: Exception initialization 'oracle.dbtools.crest.fcp.DataModelerAddin' extension ' Oracle SQL Developer Data Modeling

    After some testing today with a new installation and plugin subversion in the latest edition of data Modeler this error happens with every start of the tool.

    Have removed and unzipped the installation once again without changing the error.

    After that, I started with another user on my computer, it the error does not occur.

    Is there a system folder to remove the configuration of my personal like jdeveloper and sql developer?

    I lose the most important features, for example. have no browser and cannot open a design.

    Here is the full error stack:

    29 may 2015 22:17:40 oracle.ideimpl.extension.AddinManagerImpl

    SEVERE: Exception initialization 'oracle.dbtools.crest.fcp.DataModelerAddin' extension ' Oracle SQL Developer Data Modeling

    java.lang.NullPointerException

    at oracle.dbtools.crest.swingui.editor.UDPLibrariesPersistence.load(UDPLibrariesPersistence.java:220)

    at oracle.dbtools.crest.model.design.DesignSet.createElement(DesignSet.java:56)

    at oracle.dbtools.crest.swingui.ApplicationView.addDesign(ApplicationView.java:2497)

    to oracle.dbtools.crest.swingui.ApplicationView. < init > (ApplicationView.java:435)

    to oracle.dbtools.crest.swingui.ApplicationView. < init > (ApplicationView.java:389)

    at oracle.dbtools.crest.swingui.ApplicationView.getInstance(ApplicationView.java:2258)

    at oracle.dbtools.crest.fcp.DataModelerAddin.initialize(DataModelerAddin.java:553)

    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:496)

    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:483)

    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:299)

    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:160)

    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:143)

    at oracle.ide.IdeCore.initProductAndUserAddinsAndActionRegistry(IdeCore.java:2294)

    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1817)

    at oracle.ide.Ide.startup(Ide.java:772)

    at oracle.ide.osgi.Activator.start(Activator.java:209)

    to org.eclipse.osgi.framework.internal.core.BundleContextImpl$ 1.run(BundleContextImpl.java:711)

    at java.security.AccessController.doPrivileged (Native Method)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)

    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)

    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)

    at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)

    at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)

    at org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)

    at org.netbeans.core.netigso.Netigso.start(Netigso.java:191)

    at org.netbeans.NetigsoHandle.startFramework(NetigsoHandle.java:209)

    at org.netbeans.ModuleManager.enable(ModuleManager.java:1352)

    at org.netbeans.ModuleManager.enable(ModuleManager.java:1156)

    at org.netbeans.core.startup.ModuleList.installNew (ModuleList.java:340)

    at org.netbeans.core.startup.ModuleList.trigger (ModuleList.java:276)

    at org.netbeans.core.startup.ModuleSystem.restore (ModuleSystem.java:301)

    at org.netbeans.core.startup.Main.getModuleSystem (Main.java:181)

    at org.netbeans.core.startup.Main.getModuleSystem (Main.java:150)

    at org.netbeans.core.startup.Main.start (Main.java:307)

    at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)

    at java.lang.Thread.run(Thread.java:745)

    Hi Torsten,

    Thanks for reporting the problem. I logged a bug.

    You can view together as "list of system types" directory to "preference > Data Modeler"-probably no longer exists. I guess that the setting for this directory is empty when you start SQL Dev as a different user.

    Philippe

  • How to modify data in "Result grid query" in Oracle SQL developer

    Dear,

    I would like to know how to change values directly in the query result grid.

    I use Oracle SQL Developer version 4.0.3.16

    Thank you

    Khalil

    EditValues.JPG

    I checked in SQL Developer 4 and I found no option to do this.

    I don't think it's available. You can open the table and add filters on each column and change. Or you can add where clause as suggested the link written by Jeff that I already gave. (http://www.thatjeffsmith.com/archive/2013/06/sql-developer-im-looking-at-a-record-how-do-i-edit-it/)

    Or you write update instructions.

    See you soon

    AJ

  • How to change the password of a schema by using Oracle SQL Developer

    Hi need to change the password of a schema by using Oracle SQL Developer, how can I do?

    or maybe http://www.thatjeffsmith.com/archive/2012/11/resetting-your-oracle-user-password-with-sql-developer/

  • 4.0.2 Oracle sql developer - capital letters for keywords

    Hello

    I want that key words turn to capital letters, even when I write in lowercase letters.

    for example:

    SELECT *.

    DE PEM

    WHERE work = "manager";

    Thanks in advance

    Elad

    You can set that in the preferences
    http://www.thatjeffsmith.com/archive/2012/12/formatting-keywords-to-uppercase-in-Oracle-SQL-Developer/

  • Oracle SQL Developer 4.0.2 (4.0.2.15.21) missing ututil in bin files

    I downloaded the Oracle SQL Developer 4.0.2 (4.0.2.15.21)... It comes with JDK... I can't find the files ututil.sh and ututi.bat in sqldeveloper/bin? Any ideas?...

    Hey, Jeff Smith. Thanks for the reply.

    It looks not like command line utility call unit tests was changed to 4.0.2 compared to 3.0.

    Can you please give me some reference documents I can to understand how to run utilities UTUTIL 4.0.2 version. ? Jeff Smith Sqldev Pm-Oracle

Maybe you are looking for