Debugging a PL/SQL with Oracle SQL Developer

I am trying to debug pl in Oracle SQL Developer, have looked in
http://www.oracle.com/technology/obe/11gr2_db_prod/appdev/sqldev/plsql_debug/plsql_debug_otn.htm#t5
and there are not enabled the options "Data", "Smart Data", etc someone knows why?
thank you.

In the log windows, when debug, show tihis:
Conectando a la base de datos OPAVID - Inventariado.
Ejecutando PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
Ejecutando PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '10.240.193.202', '2310' )
Later, 1 min.
show this
ORA-30683: failure establishing connection to debugger
ORA-12535: TNS:operation timed out
ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
ORA-06512: at line 1
El proceso ha terminado.
Desconectando de la base de datos OPAVID - Inventariado.
so, do you think, the problem is a firewal, i can´t verify this.

Similar Messages

  • Developerday  VM Ora-12505 Getting Started with Oracle SQL Developer 3.0

    Just downloaded the VM , Started the tutorial Getting Started with Oracle SQL Developer 3.0
    As mentioned in tutorial , I was trying to make a new connection and I am getting following error
    Ora - 12505 : TNS Listener doesn't currently know of SID
    I gave SID as orcl, and seems to be working OK, can I use orcl for this tutorial
    Edited by: OrcArgusDev on Apr 13, 2012 9:01 AM
    Edited by: OrcArgusDev on Apr 13, 2012 9:11 AM

    Thanks, I'll survive. Just my luck, the first item I try to anon. debug didn't work! :)
    thanks, hopefully this problem will be few and far between

  • Problems using SQL*Loader with Oracle SQL Developer

    I have been using TOAD and able to import large (milllions of rows of data) in various file formats into a table in an Oracle database. My company recently decided not to renew any more TOAD licenses and go with Oracle SQL Developer. The Oracle database is on a corporate server and I access the database via Oracle client locally on my machine. Oracle SQL Developer and TOAD are local on my desktop and connected through TNSnames using the Windows XP platform. I have no issues with using SQL*Loader via the import wizard in TOAD to import the data in these large files into an Oracle table and producing a log file. Loading the same files via SQL*Loader in SQL Developer, freezes up my machine and I cannot get it to produce a log file. Please help!

    I am using SQL Developer version 3.0.04. Yes, I have tried it with a smaller file with no success. What is odd is that the log file is not even created. What is created is a .bat file a control file and a .sh file but no log file. The steps that I take:
    1.Right click on the table I want to import to or go to actions
    2. Import Data
    3. Find file to import
    4. Data Preview - All fields entered according to file
    5. Import Method - SQL Loader utility
    6. Column Definitions - Mapped
    7. Options - Directory of files set
    8. Finish
    With the above steps I was not able to import 255 rows of data. No log file was produced so I don't know why it is failing.
    thanks.
    Edited by: user3261987 on Apr 16, 2012 1:23 PM

  • Problems when starting with oracle SQL developer

    Hello,
    I am very much new with oracle SQL developer. I use oracle 10g and have a database named 'pallabDB' with username: xxxxxx and paswd:yyyyyy. I have installed oracle SQL developer.But i am unable to start up.What i should do? If any body replies it will be a great help.Thanks in advance.

    But i am unable to
    start up.How to understand this sentence without confusion?
    Can you explain exactly what is your problem at start up of SQL Developer?

  • What is Difference between ANSI SQL and ORACLE SQL

    Hi,
    I am going to take the assesment test for ANSI SQL Programming before that i want to know any difference between ANSI SQL and ORACLE SQL?
    I am studying for SQL but the test will be ANSI SQL please let me give an idea about the both.
    Thanks
    Merina Roslin

    Basically there is syntax difference between both of them.
    Lets say i want to join two table EMP and DEPT based on DEPTNO.
    With Oracle SQL format its like this.
    select e.*
      from emp e, dept d
    where e.deptno = d.deptnoHere the joining condition goes in the WHERE clause.
    With ANSI SQL format its like this.
    select e.*
      from emp e
      join dept d
        on e.deptno = d.deptnoHere the join condition is mentioned separately and not in WHERE clause.
    Oracle supports ANSI SQL starting from 9i version.
    You can read more about the syntax difference Here

  • Translating ms-access sql to oracle sql

    I would like to translate this ms-access sql to oracle sql.
    SELECT
    CStr(STUDENT_ID),
    FIRST_NAME,
    LAST_NAME,
    IIF(LEN(CLASS_CODE)=3,"Y","") AS "ELEMENTARY_SCHOOL",
    IIF(LEN(CLASS_CODE)=4,"Y","") AS "MIDDLE SCHOOL",
    FROM T_STUDENT
    Thanks in advance for your help.
    Sandra

    For an equivalent of IIF, look at CASE or DECODE. For LEN use LENGTH.
    A business rule that says elementary and middle schools can always be identifed by the length of their codes sounds rather unreliable, though.

  • Getting error while configuring WAS 7 Fix Pack 37 with Oracle Application Development Framework (Oracle JDeveloper 11.1.1.7.0)

    Hi,
    I have installed Oracle Unified Directory 11.1.2.2.0 and WebSphere Application Server 7 with Fix Pack 37.
    I am getting error while configuring WAS 7 Fix Pack 37 (7.0.0.37) with Oracle Application Development Framework (Oracle JDeveloper 11.1.1.7.0). While adding products to cell (Oracle Directory Services Manager for WebSphere - 11.1.2.2.0), I am getting below error:
    CFGFWK-64069: The following prerequisites were found to be missing: Oracle WebCenter Composer Extension - 11.1.1.0
    Also attached the screenshot of the error.
    Please help.
    Thanks,
    Himanshu Verma

    Hello,
    ODSM has the following dependencies apart from ADF (both components depend also on ADF):
    - UIShell (oracle.idm.uishell.war)
    - Webcenter Composer (oracle.webcenter.composer.war).
    Apparently the composer is missing.
    Important points to check when using ODSM with WAS:
    - To install and configure Oracle Fusion Middleware with IBM WebSphere, you must first install (but not configure) IBM WebSphere
    - You must install the Oracle Application Development Framework as the same user who installed Oracle Unified Directory.
    - appdev must be installed under the same ORACLE_HOME as OUD
    Sylvain
    Please mark this response as correct or helpful when appropriate to make it easier for others to find it

  • Few errors while working with Oracle 9i developer suite.

    I am facing a few errors working with Oracle 9i developer suite.
    1. while running forms we have to press "ctrl +F11" to execute a query.
    is there any other way of executing a query where the user can do it at a click of button or so? and similarly some way of canceling a query?
    2. how can we run parameterized reports thru a menu in forms?
    3. i had run a query which fetched around 15 records which were populated in 10 text boxes. i cud scroll down to see the records, with the keys but was not able to scroll back up. how can this be avoided or some way thru which we can scroll?
    4. can sessions be created in Oracle forms?
    5. the security feature thru menu roles is not proving efficient. can some1 suggest some way of achieving this user access control?
    hope some 1 can answer my queries soon

    1) execute query in windows is F8, yours is unix. Change the resource-file. You find them in <forms-home>. fmrweb.res is the standard. Save a copy. Copy then the fmrpcweb.res into fmrweb.res. That's all.
    2) start in the menu with an execute_trigger ('UN_MY_REPORT_CALL') a forms-level-trigger in your form. Then you can interact with your report-objects.
    3) page down + up are the keys to scroll. maybe the solution is 1)
    4) yeah, implicit with open_form (... new_session...) but what do you need ?
    5) write your own mechanism. say first, which features do you need
    Gerd

  • Help on - convert ansi sql to oracle sql

    hi gurus,
    i'm try'g to convert ansi sql to oracle sql.
    but i'm getting an error. can u please let me know, if i can convert it or is it better to use ansi sql!
    original code in ansi format::
    select distinct bfc.NBR_SEQ, bfc.IDN_ENTITY, bfc.CDE_TYPE_ENTITY, n.CDE_STATUS,
             gec.idn_group as idn_parent_id, bfc.IDN_FUNC_BUSS,
             case when bfc.CDE_TYPE_ENTITY = 'P'  OR bfc.CDE_TYPE_ENTITY = 'A' then
                PKG_FW_NVGTR.GET_NAM_PAGE(bfc.IDN_ENTITY)
              else
                PKG_FW_NVGTR.GET_NAM_GROUP(bfc.IDN_ENTITY)
             end as ENTITY_NAM,
             p.Category, p.Display_Txt, p.show_in_nav, p.page_uri
      from
        T_BUSS_FUNC_ENTITY_CREF bfc
        inner join t_buss_func bf on bfc.idn_func_buss = bf.idn_func_buss
        inner join t_entity_prog_cref epc on bfc.idn_entity = epc.idn_entity and bfc.cde_type_entity = epc.cde_type_entity
        left outer join t_page p on bfc.idn_entity = p.idn_page
        left outer join t_group_entity_cref gec on bfc.idn_entity = gec.idn_entity and bfc.cde_type_entity = gec.cde_type_entity
        left outer join t_nvgtr n on bfc.idn_entity = n.idn_entity and bfc.cde_type_entity = n.cde_type_entity
      where
        BF.nam_func_buss = 'CP' AND--P_NAM_FUNC_BUSS and
        epc.cde_program in
          ( select p.cde_program from t_program p where p.nam_program in (
              SELECT * FROM TABLE (CAST(PKG_FW_NVGTR.FN_GET_ARRAY_FROM_COMMA_LIST('LC', ',') AS TYP_ARRAY))))
      order by
        bfc.NBR_SEQ;tried to convert into oracle
    SELECT DISTINCT bfc.NBR_SEQ,
                 bfc.IDN_ENTITY,
                 bfc.CDE_TYPE_ENTITY,
                 n.CDE_STATUS,
                 gec.idn_group as idn_parent_id,
                 bfc.IDN_FUNC_BUSS,
                 case when bfc.CDE_TYPE_ENTITY = 'P'  OR bfc.CDE_TYPE_ENTITY = 'A' then
                             PKG_FW_NVGTR.GET_NAM_PAGE(bfc.IDN_ENTITY)
                           else
                             PKG_FW_NVGTR.GET_NAM_GROUP(bfc.IDN_ENTITY)
                 end as ENTITY_NAM,
                 p.Category,
                 p.Display_Txt,
                 p.show_in_nav,
                 p.page_uri
    FROM    T_BUSS_FUNC_ENTITY_CREF bfc,
                 T_BUSS_FUNC bf,
                 T_ENTITY_PROG_CREF epc,
                 T_PAGE p,
                 T_GROUP_ENTITY_CREF gec,
                 T_NVGTR n
    WHERE bfc.IDN_FUNC_BUSS = bf.IDN_FUNC_BUSS
    AND bfc.IDN_ENTITY = epc.IDN_ENTITY
    AND bfc.CDE_TYPE_ENTITY = epc.CDE_TYPE_ENTITY
    AND bfc.IDN_ENTITY(+) = p.IDN_PAGE
    AND bfc.IDN_ENTITY(+) = gec.IDN_ENTITY
    AND bfc.CDE_TYPE_ENTITY(+) = gec.CDE_TYPE_ENTITY
    AND bfc.IDN_ENTITY(+) = n.IDN_ENTITY
    AND bfc.CDE_TYPE_ENTITY(+) = n.CDE_TYPE_ENTITY
    AND BF.nam_func_buss = 'CP' AND--P_NAM_FUNC_BUSS and
        epc.cde_program in
          ( select p.cde_program from t_program p where p.nam_program in (
              SELECT * FROM TABLE (CAST(PKG_FW_NVGTR.FN_GET_ARRAY_FROM_COMMA_LIST('LC', ',') AS TYP_ARRAY))))
                   order by
                     bfc.NBR_SEQ;error is
    ORA-01417: a table may be outer joined to at most one other tableso how can i convert it?
    thanks

    user642856 wrote:
    explain plan for this select statement
    ID         PID       Operation                                                                                  Name                                                                Rows    Bytes    Cost     CPU Cost          IO Cost Temp space      IN-OUT  PQ Dist PStart   PStop
    0                      SELECT STATEMENT                                                                                                                                       10M                  1183M  570694 33G      567917                                                  
    1          0            SORT UNIQUE                                                                                                                                                            10M                  1183M  287940 17G      286502 2607M                                      
    2          1              HASH JOIN                                                                                                                                                   10M                  1216M  179       1G        84                                                          
    3          2                COLLECTION ITERATOR PICKLER FETCH   PKG_FW_NVGTR.FN_GET_ARRAY_FROM_COMMA_LIST                                                                                                                         
    4          2                HASH JOIN OUTER                                                                                                                         2693             299K     58         34M      55                                                          
    5          4                  HASH JOIN OUTER                                                                                                                                   37                     3959     11         24M      9                                                           
    6          5                    HASH JOIN OUTER                                                                                                                     37                         3663     10         18M      8                                                           
    7          6                      HASH JOIN                                                                                                                               37                         1147     7          12M      6                                                           
    8          7                        HASH JOIN                                                                                                                             59                         1180     5          6060823            4                                                           
    9          8                          NESTED LOOPS                                                                                                       2                      24                     3          15843   3                                                           
    10         9                            TABLE ACCESS BY INDEX ROWID  T_BUSS_FUNC             1                      6                      1             8341     1                                                           
    11         10                             INDEX UNIQUE SCAN                                UK_NAM_FUNC_BUSS 1                       0                      1050     0                                                           
    12         9                            TABLE ACCESS FULL                                             T_PROGRAM                2                      12             2          7501     2                                                           
    13         8                          INDEX FULL SCAN                            PK_T_ENTITY_PROG_CREF      59                     472       1             18921   1                                                           
    14         7                        TABLE ACCESS FULL                         T_BUSS_FUNC_ENTITY_CREF  37                     407       2             14891   2                                                           
    15         6                      TABLE ACCESS FULL                           T_PAGE                                                           26                     1768     2          14141   2                                                           
    16         5                    INDEX FULL SCAN                                              UK_UNIQUE_GROUP_DEPENDENT 26              208             1          12321   1                                                           
    17         4                  TABLE ACCESS FULL                                           T_NVGTR                                                          6986             47K      46         3179613            46                                                           as you can see.. cpu cost is in 33G..
    is there any better way?
    thanksCan you run this in a session please:
    ALTER SESSION set optimizer_dynamic_sampling = 4;Then run an explain plan again.
    And you have a function in there - PKG_FW_NVGTR.FN_GET_ARRAY_FROM_COMMA_LIST - which isn't helping things.

  • ON UPDATE CASCADE and Autoincrement primary key with Oracle SQL Developer

    hello everybody,
    I want to know if Oracle SQL Developer manage autoincrement on primary key and "ON UPDATE CASCADE" when i migrate (with data) SQL Server database in Oracle database.
    Can you help me ?
    Thanks for your suggestions.

    Obtain the value of the auto increment key with the getGeneratedKeys() method.
    Statement stmt = null;
    ResultSet rs = null;
    stmt = conn.createStatement(java.sql.ResultSet.TYPE_FORWARD_ONLY,
                                    java.sql.ResultSet.CONCUR_UPDATABLE);
    stmt.executeUpdate("DROP TABLE IF EXISTS autoIncTable");
        stmt.executeUpdate(
                "CREATE TABLE autoIncTable ("
                + "priKey INT NOT NULL AUTO_INCREMENT, "
                + "dataField VARCHAR(64), PRIMARY KEY (priKey))");
    stmt.executeUpdate(
                "INSERT INTO autoIncTable  (dataField) "
                + "values ('data field value')",
                Statement.RETURN_GENERATED_KEYS);
    int autoIncKeyFromApi = -1;
        rs = stmt.getGeneratedKeys();
        if (rs.next()) {
            autoIncKeyFromApi = rs.getInt(1);
        } else {
        rs.close();

  • Issue with Oracle SQL Developer

    I use a oracle database for my process (LMS relared stuff)
    When i write a query which is expected to pull thousands and thousands of records. Why do i need to keep scrolling down to fetch more records.
    Why will it not pull all the records?
    I need to keep scrolling down till i get all the records.
    Any solution?
    (I'm using it for the first time in my life. i'm just 3 day old to this software)
    My O/S: Win XP Professional with 1gb of RAM.
    Oracle SQL Developer Version: 1.2.1 Build Main-32.13
    Is any other information required???
    Message was edited by:
    user599780

    This will be in the next release. However, if you want to put this in now you can make an extension ( there's examples on my blog) and put this chuck of code in:
    Connections.getInstance().addConnectionListener(new ConnectionListener() {
                   public void connectionAdded(ConnectionEvent evt) {}
                   public void connectionClosed(ConnectionEvent evt) {}
                   public void connectionModified(ConnectionEvent evt) {}
                   public void connectionOpened(ConnectionEvent evt) {
    Connection conn = Connections.getInstance().getConnection(evt.getConnectionName());
    if (conn instanceof OracleConnection){                                   
    ((OracleConnection)conn).setDefaultRowPrefetch(DBConfig.getInstance().getInt(DBConfig.ARRAYFETCHSIZE));
                   public void connectionRemoved(ConnectionEvent evt) {}
                   public void connectionRenamed(ConnectionEvent evt) {}
    });

  • Create connection with Oracle SQL Developer

    Hello,
    my test to connect my Oracle database with SQL*PLUS works. Here I need only the username (I test with system), my password and the hostname (orcl).
    Now I want to create this connection with the SQL Developer.
    Here I need the Port. I don't know the port of my database. How can I find it out?

    Hi, the port must be the used by listener, review the $ORACLE_HOME/network/admin/listener.ora file or get the listener status(lsnrctl status) for get the correct port.
    You can try with the default port. (1521).
    Luck.
    Havea good day.
    Regards.

  • PL/SQL and Oracle SQL Developer

    I just downloaded the latest version of Oracle SQL Developer, because I heard that it is free and comes with a debugger.
    So I have it all setup, I am connected to my database, but I wanted to execute a simple example:
    I selected to create a new Procedure and a new tab opened up, I pasted this code and under DBMS Output, I clicked the + to: set serveroutput on
    CREATE OR REPLACE PROCEDURE TEST1 As
    DECLARE
       mytext varchar2(100) := 'Hello world!' ; 
    BEGIN
       dbms_output.put_line(mytext) ;
       dbms_output.put_line(mytext) ;
    END TEST1;yet, I get an error:
    Source does not have a runnable target.
    So, is this made to only work with the database objects ? Tables ? I can't execute a simple Hello World ?
    Please help, thanks!
    Edited by: Kodiak_Seattle on Mar 7, 2011 12:06 PM

    Kodiak_Seattle wrote:
    wow, you are the rudest person I have ever encountered here on Oracle forums, you work for Oracle ?Most people on these forums do not work for Oracle, it is a public forum.
    http://www.oracle.com/html/terms.html
    You post here for free and people are free to respond in any way they see fit within reason. You do not get to choose the demeanor of the responses like you would if you were paying somebody.
    I just want to make sure my dollars will not go there anymore...If you paid someone to use this forum you were robbed.
    have a nice life under that rock! - don't bother to reply.Don't bother to tell others what they can or should do on here, it will just just disappoint you. You will be happier with these people they will do as they are told.
    http://www.google.com/search?q=oracle+consultant
    The responses you received accurately identified the problems you were having were a result of attempting to debug a procedure before you had compiled it. For free. And you complain.
    Now that is rude.

  • PL/SQL with oracle 8i lite

    Could any of you folks please let me know if i can work with pl/sql commands on oracle 8i lite and if not then is there any other ways so as to, i can work on triggers, procedures and access the pre-defined tables.
    reply to the above would be much apprecaited.
    cheers
    Rodeo

    as you exprimented triggers & procedures, Expriment PL/SQL also

  • Can i run all the SQL And PL/SQL in Oracle SQL Developer?

    hi all
    I have heard that Oracle Sql Developer is a free editor for Oracle DB from Oracle.
    Is it possible to run all the the procedres and functions in that editor
    is there any limitation for that ,can i run all the things that we can run on the SQL Plus
    if anybody knows please let me know
    thanks & regards

    Interesting way of putting it.
    When it comes to SQL and PL/SQL, SQLPlus and SQL Developer do not really 'run' very much.
    Most of the time, these things are just shells that pass the SQL and PL/SQL requests to the appropriate engine (database) which will run the command.
    The challenges are:
    - will the shell interpret the request as something to pass to an engine?
    - will the shell display the response from the engine appropriately?
    For answers to those questions, TongucY provided approriate links.

Maybe you are looking for

  • Help With GPS options

    I am using my phone and do not want any "data" transfer so the carrier doesn't pick my phone up as a smart phone.  The phone is a 700.  Note that I do have Mobile Data turned off and Allow Mobile Data Usage set to in home network only.  Having the Da

  • Import templates from older iPages

    I would like to import my old templates from an older version of iPages (06) now that I have just installed 08. I can't find anything in the documentation that indicates how to achieve this. Is there a quick way of doing this?

  • FFT Amplitude into Sound Pressure Level (SPL)

    Hi everyone, I have a problem with my program. Basically, i have a chirp signal to be outputted into my DAQ and being fed to my speaker. The microphone will sense anything coming out from the speaker, and acquire it using my DAQ. I want to display a

  • How do I upgrade from Lightroom 1 to 4 or 5?

    I have registered my Lightroom 1, but it doesn't show as being registered in Creative Cloud. When I go to add the serial number, it says it's already registered and I can't add it. It's not syncing, even though my email addresses are the same. I figu

  • Importing  Iweb website back to  my computer

    My computer crashed and I lost all my website files They are on .mac but I would like to get them back on my computer so I can edit them again with Iweb This seems to be a problem, one can not import a website from .mac to iweb. What do I do now