SQL Developer v 1.1 - Debug

SQL Developer on Windows XP desktop
Connected to Unix server Oracle9i Enterprise Edition Release 9.2.0.6.0
Problem:
I cannot get debug working in the new download of SQL Developer ver 1.1
I compile for debug
That works
But then none of the items in the "Debug" menu drop down list are selectable
I am missing something....
What should I do step-by-step?
Please advise.....

If it's a package you want to debug, make sure you're inside the spec (in edit mode), since there's a bug preventing to start debug in the body. It was confirmed a couple of months ago, so let's hope it gets in the next patch.
The only item available until you really have started to debug is the first one (Debug). Alternatively you can hit the lady bug from the toolbar inside the editor. If I remember correctly they even promised a context menu entry on the node in the tree view.
For more info on debugging, take a look in sqldev's help under the tutorial "Debugging a PL/SQL Procedure" (RTFM).
K.

Similar Messages

  • Sql Developer hangs/ crashes while debugging

    While happily debugging a piece of an SQL package using the remote debugger, I get a hang/crash on SQL devleoper. This occurs when I highlight a piece of code in the debugging window. The application freezes and has to be restarted using WindowsTaskManager.
    Is this a reported bug? I was not able to find any discussion on the OTN forums or a quick google.
    Regards,
    Bill
    Oracle SQL Developer 3.2.20.09
    Version 3.2.20.09
    Build MAIN-09.87
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.09.87
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.7.0_17
    Oracle IDE     3.2.20.09.87
    Versioning Support     3.2.20.09.87
    OS is Windows XP
    Edited by: BillArms_GS on May 30, 2013 12:41 PM

    We monitor these forums, but it's a unofficial place for bugs to be reported. Enhancements and bugs can be reported to My Oracle Support. You can also post your ideas up for other users to vote up at http://sqldeveloper.oracle.com
    And thanks

  • Oracle sql developer ....Debugging problem even with the proper rights

    Hi all,sorry for raising this question in this forum.I dont see SQL Developer forum anywhere.
    I am trying to debug my pl-sql procedure but unable to do it.I have been given all the debugging rights by the DBA (that is what he tells me ).
    I do get the bug icon ,and I do click a break point ,but after clicking the bug button
    I just get this message in the Debugging-log panel
    Connecting to the database ahdb_t5.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: ALTER SESSION SET PLSQL_COMPILER_FLAGS=INTERPRETED
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '10.2.46.58', '1859' )
    Please help
    Thx

    This is the message I get once I click the debug button (after few seconds)
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: ALTER SESSION SET PLSQL_COMPILER_FLAGS=INTERPRETED
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '10.2.46.58', '1957' )
    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

  • SQL Developer EA4 - Collapse  and Debug

    After you collapse a procedure/function you cannot expand by clicking on +.It is working  for package. In previous version 3.2.2 it was working
    Popup debug  window .It is taking a while until values come up(Target, Parameters, PL/SQL block). In previous version 3.2.2 is almost instant

    Windows 7 Ultimate
    Processor Intel(R) Core(TM)i7 CPU [email protected] GHz
    RAM 8. GB
    OS 64 bit
    Run against -Oracle Database 10g Enterprise Edition Release10.2.0.5.0 - 64bit or  Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit
    Collapse on a procedure or function
              Steps
              On the connections navigator focus on the procedure right click Edit
              On a Editor on folding margin right click,  and choose Collapsed procedure declarations/body
              Everything is collapsed now, then  click + to expand and  nothing happens.
              This is working on a package
    Debug window
              On a function or a procedure is not so bad(but still slower then 3.2.2). On a package it take at least 20 seconds to open.
              Steps
              On a navigator focus on a package right click choose Edit Body
              Right click and choose debug
              It take at least 20 second for debug window to open
              Package has around 2500 lines

  • SQL Developer: Not able to view tables

    I am new to sqldeveloper and oracle products. I've recently installed sqldeveloper onto my pc, i am able to connect to the database but when i try and expand the tables item in the treeview i dont get the tables displayed and the error Warning, unhandled exception:Closed connection is shown in the logging page at the bottom. I have uninstalled the oracle client, jdk but still i keep getting this problem.
    Current versions are
    Operating System= Windows 7 32bit
    SQLDeveloper=3.0.03
    JDK=1.6.0_21
    Oracle Client=11g

    It looks like it may be a privilege issue.
    I ran SQL Developer with 'IncludeConfFile sqldeveloper-debug.conf' in the 'sqldeveloper.conf' file. I got the following log output when I connected to XXAPI (which hangs) and XX (which works)
    For XXAPI, 'oracle.dbtools.db.DBUtil' generates
    Prepared:SELECT object_type type, SYS_CONTEXT('USERENV','CURRENT_SCHEMA') owner, object_name, null column_name, null column_id, null data_type
    FROM user_objects
    WHERE object_type ='TABLE' and object_name not like 'BIN$%' and rownum <=50
    union all
    SELECT object_type type, SYS_CONTEXT('USERENV','CURRENT_SCHEMA') owner, object_name, null column_name, null column_id, null data_type
    FROM user_objects
    WHERE      object_type ='VIEW' and object_name not like 'BIN$%' and rownum <=50
    and the following log message
    oracle.dbtools.raptor.controls.grid.RaptorGridPersistedSettings - Persisted settings for this table could not be loaded
    For XX, 'oracle.dbtools.db.DBUtil' generates
    Prepared:
    select * from (
    SELECT o.OBJECT_NAME, o.OBJECT_ID ,'' short_name, NULL partitioned,
    NULL iot_type,
    o.OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME, O.GENERATED, O.TEMPORARY, NULL EXTERNAL
    FROM SYS.ALL_OBJECTS O
    WHERE O.OWNER = :SCHEMA
    AND O.OBJECT_TYPE = 'TABLE'
    union all
    SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME, NULL partitioned,
    NULL iot_type,
    SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME, O.GENERATED, O.TEMPORARY, NULL EXTERNAL
    FROM SYS.ALL_OBJECTS O, sys.user_synonyms syn
    WHERE syn.table_owner = o.owner
    and syn.TABLE_NAME = o.object_NAME
    and o.object_type = 'TABLE'
    and :INCLUDE_SYNS = 1
    WHERE /**/OBJECT_NAME NOT IN (SELECT OBJECT_NAME FROM RECYCLEBIN)
    AND not object_name like 'BIN$%'
    which works
    -----

  • How to start listener in sql developer for remote debug

    how to start listener in sql developer for remote debug ? Since the new version 1.1.0.23 is different with the old version for remote debug, I don't know how to start the listener on the new version for remote debug.
    even follow the user guide below and not work . Experts on sql developer please help me with this.
    Remote Debugging
    To debug a procedure or function for a connection where the database is on a different host than the one on which you are
    running SQL Developer, you can perform remote debugging.
    Remote debugging involves many of the steps as for local debugging; however, do the
    following before you start the remote debugging: Use an Oracle client such as SQL*Plus to issue the debugger connection command. Whatever
    client you use, make sure that the session which issues the debugger connection commands is the same session which executes your PL/SQL
    program containing the breakpoints.
    For example, if the name of the remote system is remote1, use the following SQL*Plus command to open a
    TCP/IP connection to that system and the port for the JDWP session:
    EXEC DBMS_DEBUG_JDWP.CONNECT_TCP('remote1', '4000'); The first parameter
    is the IP address or host name of the remote system, and the second parameter is the port number on that remote system on which the debugger
    is listening.
    Right-click the connection for the remote database, select Remote Debug, and complete the information in the Debugger - Attach
    to JPDA dialog box. Then, follow the steps that you would for local debugging (for example, see Debugging a PL/SQL Procedure).
    Debugger - Attach to JPDA This dialog box is displayed when you right-click a database connection name and select Remote Debug.
    Use this
    dialog box if you are using the Sun Microsystem's Java Platform Debugger Architecture (JPDA) and you would like the debugger to listen so
    that a debuggee can attach to the debugger.
    For more information about remote debugging, see Remote Debugging.
    Host: Name or IP address of
    the remote host on which SQL Developer should listen for the database to connect.
    Port: Listening port number on the remote host. You can
    choose any valid port number that is not in use by another process.
    Timeout: The number of seconds that SQL Developer will wait for the
    remote database to make a debugging connection. Don't Show Dialog Box Before Connecting: If this option is checked, this dialog box will not
    be displayed before future connections for remote debugging

    You're not the only one:
    Not able to start remote debug listener
    Re: remote debug question at version 1.1.0.23 64

  • How to debug a Package / function in PL SQL developer ??

    How can we debug a Package / function in PL SQL developer ??
    i want to debug a code line by line

    Karthick_Arp wrote:
    This question does not belong to this fourm. We have a {forum:id=260} forum for such question.Not even there Karthick. PL/SQL Developer is a 3rd party tool, not Oracle's SQL Developer, so it doesn't even belong on the Oracle forums.

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

    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:
    Re: 30EA1: anonymous block debugging?
    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.

    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 with debugging in Oracle sql developer

    Dear all,
    I have a stored procedure with about 3500 lines of code. The SP is calling some other SP's , so altogether around 30,000 lines of code is to executed.
    I have some delete statements in the beginning of my SP.
    Till nw i was able to debug and run this SP.
    But nw I am facing a strange problem.
    I can run the SP.
    But if i try to debug it , it gets hanged after the delete statement and does not move forward.
    So i moved all that statements to another SP and I call the new SP from my present one.
    In this way If i debug , after calling the newly created SP , my main Sp does not recognise the break points , and it just finishes execution ..
    Can any one help me on this.
    Thanks in Advance,
    Kurian Simon

    Simon,
    Did you move the breakpoint, and once you'd moved the lines of code, did you recompile, using compile for debug? Also, it's important to do compile for debug on all the program units you want to debug, otherwise SQL Developer will just step over the units not compiled for debug.
    Sue

  • Using DEBUG Mode in Oracle SQL Developer Data Modeler to Log SQL

    Hello,
    I am looking for the possibilty to enable the logging of SQL in Data Modeler.
    Jeff Smith wrote an article how to do this for SQL Developer, for Data Modeler there are other configuration files. Does anyone have an idea?
    Best regards,
    Joop

    Hello Philip,
    the URL to the article of Jeff is: http://www.thatjeffsmith.com/archive/2012/10/using-debug-mode-in-oracle-sql-developer-to-log-sql/
    in the install directory of Data Modeler 3.3.0.734 exists a file datamodeler\datamodeler\bin\datamodeler.conf. This analogue the situation for sql Developer.
    However in this file there is no reference to a (non)debug file.
    In ide/bin directory there is a ide-logging-debug.conf and ide-logging.conf file. But they are not referenced. Should one of them be included?
    Joop

  • Debugging in Oracle SQL Developer

    I would like to know how to debug my PL / SQL programs in the Oracle SQL Developer program using breakpoints and such. I've never known how to use debugging tools like this and since this program provides this kind of feature, I was wondering if anyone on here might be able to shine some light on this for me. How are these used? How could I use them to say, figure out what the value of a given variable might be on line whatever? Etc.
    One reason I'm setting out to learn this is because I'm tired of typing DBMS_OUTPUT.PUT_LINE all the time. I would think that there must be a better way than this.
    Lastly (and while we're on that subject), what would cause SQL Developer to not output a DBMS_OUTPUT.PUT_LINE line? I've given this a string of text to output to the monitor and it's not working. It's in the DECLARE section (thinking I could place these almost anywhere my tiny little heart desired, but apparently, I'm wrong?)
    Again, any insight is appreciated.

    - K - :
    Oh, I get it... We had another pesky drop-out fishing for homework cheats again, right?
    Here's a suggestion to make this forum (you know, a place where people come together who all think differently about things both deep and shallow) somewhat more accepting and useful a place for idiots like me who might happen to overlook an apparently obvious "Help" menu item with the glowing neon-colored label heading of "Table of Contents": instead of wasting your own time (let alone, others) by posting silly responses that serve arbitrary agendas for the sake of inflating one's ego and online rep points due to having a bad high school experience, why not just instead take a high road (all the real Oracle kings around here hopefully take) and either ignore the response altogether or post something at least 1% useful. Sound like a plan? Great! For instance, why not inquire about why someone posted something that might not make sense to you? It's an amazing concept...
    Because after all...
    "+I'm often perplexed about the "answers" we get. Seems like you never posted your suggestions.+"
    ...doesn't do a lot for people who come across this thread in similar straights or perspective I was in at the time of creating it.
    That said, something like...
    "+Since you're using Oracle SQL Developer, you should have a 'Help' menu item near the top of the window. Click on it and then click on 'Table of Contents'. Proceed to do as Jim suggested by locating the topic 'Running and Debugging Functions and Procedures'. In that section of the contents, you will find more information about debugging your program, tips and tricks, etc. If this doesn't help you or if you're unsure about something in general, feel free to post back and we'll try to help you further.+"
    ...is much more helpful and succinct. It's welcoming, objective, and very informative (not that Jim's response wasn't).
    On that note, Jim, I do appreciate your response. When I first read your suggestion, I had misinterpreted what you proposed in the heat of the moment. Above all else, I also had some things going on around me that were distracting me. Thanks again. I'm reading the topic right now...

  • Oracle SQL Developer Release 1.5.5 "compile for debug"

    Using Oracle SQL Developer Release 1.5.5 on Windows XP pro machine connecting to 9.2.0.4 database on AIX machine.
    Trying to debug a procedure, in the navigator window, I rt-clk the procedure and select "Compile for Debug", then nothing happens. This happens for every procedure I've tried. I've been granted both DEBUG ANY PROCEDURE and DEBUG CONNECT SESSION. Any ideas?

    This is the first I've used SQL Developer, so I'll take the blame. I had not noticed that the Messages Log does in fact tell me that the proc compiled. However, the debug icon (little red bug) was nowhere to be found.
    I see now that I need to Edit, not Open, the proc in order to debug. If I had read the Help screens a little more closely, I would have seen that I needed to be in Edit mode. My bad. Thanx to all for your responses.

  • Error Debug on SQL Developer

    Hi all,
    I´m here again to ask for your help :-|
    I´m using the SQL developer 1.0.0.15.27.
    when I run a procedure, it works fine,
    but when I try to debug this procedure, the
    following error occurs:
    Connecting to the database userproc.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: ALTER SESSION SET PLSQL_COMPILER_FLAGS=INTERPRETED
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '192.168.11.42', '1093' )
    Debugger accepted connection from database on port 1093.
    Processing 56 classes that have already been prepared...
    Finished processing prepared classes.
    ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL execution], [], [], [], [], [], []
    ORA-06544: PL/SQL: internal error, arguments: [pbjrms - signature buffer too small], [36], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [pbjrms - signature buffer too small]
    Process exited.
    Disconnecting from the database userproc.
    Debugger disconnected from database.somebody already saw this error?
    thank U very much!!!
    []´s

    Hi,
    I think this is like Bug:2829071. Look for it on Metalink.
    Regards,
    Paulo.

  • How to debug package in sql developer?

    Hi,
    I need to debug one of procedures in my package in sql developer version 1.5.5. In Debugging log, I got the following:
    Connecting to the database <databasename>.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '2754' )
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    This session requires DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges.
    Process exited.
    Disconnecting from the database <databasename>.
    I have granted both DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges from SYS as the following:
    GRANT DEBUG ANY PROCEDURE TO ESM_OWNER;
    grant DEBUG CONNECT SESSION to ESM_OWNER;
    However, I still get the same error. What did I do wrong? I really appreciate any help to solve my problem.
    Thanks in advance!!!
    Cindy

    I logged in as ESM_Owner. Now I got the following errors:
    Connecting to the database <databasename>.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '1131' )
    ORA-30683: failure establishing connection to debugger
    ORA-12541: TNS:no listener
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database <databasename>.
    Edited by: user13375135 on Sep 22, 2010 1:31 PM

  • 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.

Maybe you are looking for

  • I have a 3gs and just upgraded to ios5 but cannot send/receive mms

    Hi all. I just got a new 3gs and upgraded it to ios5.  It works great, but I cannot send or receive mms. The camera button that shows up when sending a message is grayed out and I cannot touch it.  I don't know what to do in order to fix this issue.

  • TS3694 iniciar iphone 3g

    itunes no reconoce mi iphone 3g recien comprado, la leyenda dice que no reconoce la SIM. Que puedo hacer para iniciarlo?

  • Adding Branch to Validation and Assignment

    According to MDM Data Manager Reference guide page  (192/208), can not add "Branch" Validation and Assignment. According to guide when right-clikcked on expression the "Add Branch" menu option is Disabled. How to make it Enabled. Or is it a Bug that

  • PE 7 screen size?

    Hello, I recently installed PE 7 on my laptop. The window is too large for the screen. I went to Control Panel and minimized the display. This doesn't help and the icon to minimize the PE is not even visable. Any help would be greatly appreciated and

  • Uccx question

    Hello, we have uccx version 7.0.1 sr5. is there a setting on the server that we can customize so if a call is presented to an agent it will ring at least 5 times before it rolls to the next agent ? as of now, the system presents the call to the agent