PL/SQL, debugging via Eclipse

Hi all

I'm developing an application JSP in Eclipse (3.3.0) and SQL Developer (1.2.1), which interacts with an Oracle database operations that write in the DB are all stored in stored procedures and called from the Java Code.

What I'm trying to do, it's remotely debug PL/SQL code - when you debug Eclipse Java code, so I can trace the whole process, otherwise I do not see what is happening in the stored procedures.

How can do remote debugging of Eclipse?

Thanks, Leonard

Published by: user8324848 on 05.09.2008 05:30

call is a SQL * more of the customer's order and the braces are not part of pl/sql.

TO call a procedure of JDBC, you run a pl/sql block.

stmt = "start; fasi_lob.debugOn; end; « ;

Tags: Database

Similar Questions

  • error downloading component pack via Eclipse

    Hello

    I am currently using 4.6.0 under Eclipse.

    I tried to download the component Pack 5.0.0.14 via Eclipse Software Update, but the process stops, and a window appears with the following text:

    An error occurred collecting elements to install
    No repository containing found: net.rim.eide.componentpack5.0.0/osgi.bundle/5.0.0.14
    No repository containing found: net.rim.eide.feature.componentpack5.0.0/org.eclipse.update.feature/5.0.0.14

    Any idea of what the problem is?

    What a BB server problem or did, I forgot something?

    PierreL

    Hello

    Just to let you know that my problem disappeared when I upgraded to Eclipse (from 3.4 to 3.5).

    Seems the Blackberry Pack repository is not so compatible with previous versions of the eclipse...

    PierreL

  • Why my device-reset material whenever _other_ debug thru Eclipse?

    Why my device-reset every other time debug thru Eclipse?

    I'm trying to debug my app on a 9530 BB, and there the 4.7.0.167 software version. I get two errors that this guy is, but there is no 4.7.0.167 simulator version - closest is 4.7.0.181. Since I am not able to upgrade my OS to 5.0 version, I always use the 4.7.0. *.

    The first time I run Debug as > BlackBerry device Eclipse, my program downloads to the phone and I can launch successfully without any problems.

    If I try to run a second time, the device - reset hard. It's a very long edit/compile/run cycle (up to 2 minutes for a full reset) and I don't think that this should be the case.

    Re-installing your operating system (5.0 decided)

  • Deply debug token - eclipse of Manager for the blackberry proxy

    I'm creating and depoly token of debugging on the device using the "BB10 eclipse plugin for android»

    But I get this error - "failed to connect the server signature. Make sure the internet connection is enabaled.

    I filled out the details of proxy with password in eclipse > network preferences.

    Can someone please help...

    You specify your proxy when you try to create a command-line debugging token?  What is the error you're seeing?

  • Broken debugging via IDE

    I've developed using the SDK 10.2.  A few days ago, I downloaded the SDK 10.3.

    Unfortunately, when I tried to launch my app, it would break not immediately, or sometimes a second or two after opening. Debugging doesn't seem to work.

    Given this failure, I decided that I would stick to 10.2 for now.

    I edited my project preferences to use 10.2, did a clean build, started the Simulator 10.2 and ran my app.

    Now my application crashed immediately at startup, or sometimes after a few seconds. (while he was sitting on the screen do not nothing)

    When I run it in debug mode, the app seems to start (the black screen of 'Blackberry 10'), but the IDE is there forever and never actually initializes the debug.  The "Debug" mode is completely empty.  Here is a screenshot.

    I am at a loss.  I tried to restart my Simulator of many times.  I deleted the application of the Simulator and restarted.  I did own, etc, versions etc.

    What is the creepiest of all, it is that I do not have any CODE changes from the time I downloaded the SDK 10.3.  Then why my application from working completely fine to now broken?

    And why don't the IDE debug?

    Your Z10 also runs BlackBerry 10.3?  If this isn't the case, you must use the SDK 10.2.  The SDK version must be equal to or lower than the version of the OS.

    I don't know why to disable WiFi helped, but the problem could be linked to this one where there are questions if you have a simulator and the device target defined in your workspace:

    https://developer.BlackBerry.com/native/downloads/releasenotes_momentics/
    JI: 707717
    Debugging may not work if you pair a BlackBerry device and a target Simulator.
    Solution: If you unplug the device or target Simulator, delete it before creating a new project.

    Both devices were connected simultaneously (WiFi device and Simulator directly)?  If so which could explain it.  Or do you mean that you have had your device connected via the USB port, but the app could not launch until you have turned off WiFi?

  • How to enable debugging in Eclipse?

    Hello

    I'm currently developing the eclipse + component 4.5 BB, you have the problem when going through the debug mode.

    When I run 'debug', I saw a lot of message in the window of the console and BB Simulator also lights up, but I can not use those debug command, such as intervention,... etc, they are disabled.

    My helloworld can run on this Simulator.

    In my view, is not a turn on the debug feature, but have no idea to get it resolved.

    Appreciate any advice.

    wtoon

    Thanks, I got it resolved by reinstalling everything.

    wtoon.

  • Impossible to debug in Eclipse

    Hello

    I'm trying to debug an application in a true smart phone BlackBerry. I use Eclipse for a 8703e with OS 4.2.1.110.

    When I run the debug option, he tell me that I lack the net_rim_app_manager.debug file. I saw on the forum I need to navigate to the folder of the Simulator and select the correct file. I tried with all version of Simulator and Eclipse always telling me that I don't have the right file. I've read elsewhere that I need the exact os version of the Simulator, but there is no RIM Web site. I use the 4.1.0.359 version so that the Simulator for the 8703e.

    If I ignore the error message, as I read in another post, debugging starts, but my breakpoints doesn't work.

    What can I do? Any ideas? I really need to debug on the real device, cause all works on the Simulator, but I have problem in the actual device.

    THX

    I found the problem! The version was not quite the same thing (only an IP in a change of HttpConnection) so the debugger do not stop.

    For all the people who have this problem, make sure you have the exact same version of the application installed and use in Eclipse (do not add a space online!).

    Thx for the support

  • How to expose a pl/sql procedure via slot shape of apex

    Hi gurus

    I have a form that is create from a procedure.

    I put the auth to pubic_user if it is available to the public.

    So now I need is to know how to find a way to imitate the button submit and draw the corresponding URL

    while I can expose my PL/SQL via a URL through apex procedure.

    I have attached a screenshot of my form

    Thx for all the help.

    Here's the URL of my pl/sql

    https://Apex.Oracle.com/pls/Apex/f?p=30141:1:5404118417577:

    and I look at the code with tool from dev on chrome for the Send button

    If only show.

    < a href = "javascript:apex.submit ('SUBMIT'); "class ="uButton"id ="B67074418713946955629"role ="button"> < span > Submit </span > < /a >

    So how do I know what return? Thx for all the help

    expose_plsql_via_apex.JPG

    Hi Kazuneric,

    kazuneric wrote:

    https://Apex.Oracle.com/pls/Apex/sdev.verify_user?p_user=Spring9111&P_Code=E7FB725F11A62BAFDCFB28C30653B72B

    I intend to pass the parameter in the URL for a user to click through

    You will find the following useful threads:

    Call a rendering of APEX (EPG) form of procedure within the error

    403 Forbidden error URL the PL/SQL procedure call

    I hope this helps!

    Kind regards

    Kiran

  • bad connect to Sql * more via command and cannot log on to the designer (need for connection string)

    I installed Oracle Developer with success, but having bad connect to Sql more than command line, also unable to connect via the developer tools, I get a TNS: Connect timeout occurred. This happens also for the "Plus" Sql for Windows.

    Oracle Forms connect error.png


    However, I can connect via the Sql Plus command window when it is executed from "Start-> all programs", but not when I first run the command window:

    sqlplus error.PNG


    I have a good Oracle 11 g install on Windows 7 and a good developer Sql install so I can connect to databases, but something does not work when you try to connect through these tools. Although Sql Plus works when called from 'Start-> all programs'

    sqlplus scott/tiger - don't use SQL * Net, you can connect like this even with the listener is stopped.

    Developer SQL can ONLY connect using SQL * Net & can be blocked by the firewall

    to connect using sqlplus & SQL * Net, you need to invoke it as below

    sqlplus scott/tiger@orcl

  • Developer SQL Debugging and Securiy issue

    Running PL/SQL: CALL the DBMS_DEBUG_JDWP. CONNECT_TCP ('my pc ip', '58201')

    ORA-30683: failure connecting to debugger

    ORA-12535: TNS:operation expired

    This message appears when I try to debug a procedure of the SQL Developer. I have concluded that the database cannot connect to the debugger on my pc for to proceed with debugging. I have security problems in our network for open access on the database side to my pc.

    Oracle has put this question in concern the preparation of the debugger? Is there a way to set the debugging procedures and functions to be server-side? or suggestions to work around the security concerns.

    N.B.:

    1. Toad both server-side options, and client-side debugging
    2. There are a lot of request for access will be issued to allow the databases to connect to client computers and it is an application of type of unreasonable for people to safety.

    SOLVED

    I opened my pc access over the network to the database, so now the database can connect to my sql developer debugger when you are debugging.

    Thanks for the support

  • Connect to MS SQL 2005 via JDBC Driver

    I have an application in which I use Java for elements of database as abstract objects and handle most of the processing on the server side. This is done by creating a Java via CreateObject() object. The Java then connects to a MS SQL 2005 database using the JDBC 1.1 driver.

    The following tutorial explains how to set up: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=ded4216b. It loads allows you to create a Data Source, just like how you normally would in "ordinary" ColdFusion applications Then, using a few simple Java, I am successfully able to connect to the database, interrogate and get results. Connection code is attached.

    As you can see, I'm still passing all the connection parameters to the database class constructor. My question is: how would I go about connecting to the database by simply using the Data Source name, as you would, once again, in "ordinary" ColdFusion applications Is this possible at all?

    Thank you!

    It works, thank you very much. Here's my final code:

    Application.cfm


    Then I can pass the reference to the basic connection of data in instantianting objects of the other classes, so that they can access the database.

    For example:

    Once again thanks a lot everyone!

  • Support for dynamic SQL debugging.

    When I pass p_deptno = 30 and run code below, the refcursor returns the rows. But when I pass the dpetno = null, then it moves to the State if p_job is not null and an error. Can someone help me please in this debug code.
    declare
    p_deptno number:=null;
    p_job varchar2(30):='SALESMAN';
    v_sql varchar2(4000);
    l_ename varchar2(30);
    
      TYPE my_cursor IS REF CURSOR;
      RC my_cursor;
    
    begin
      v_sql := 'select ename 
                from emp
               where 1=1';
               
      if p_deptno is not null then
        v_sql := v_sql||' AND deptno='||p_deptno;
      else
        if p_job is not null then
          v_sql := v_sql||' AND job='||p_job;
        end if;
      end if;
      
      OPEN RC FOR v_sql;
      LOOP
        FETCH RC INTO l_ename;
        EXIT WHEN RC%NOTFOUND;
        dbms_output.put_line(l_ename);
      END LOOP;
      CLOSE RC;
    END;
    Thank you.

    Published by: user3565577 on March 6, 2010 20:44

    Check your quote:

    SQL> declare
    p_deptno number:=null;
    p_job varchar2(30):='SALESMAN';
    v_sql varchar2(4000);
    l_ename varchar2(30);
    
      type my_cursor is ref cursor;
      rc my_cursor;
    
    begin
      v_sql := 'select ename
                from emp
               where 1=1';
    
      if p_deptno is not null then
        v_sql := v_sql||' AND deptno='||p_deptno;
      else
        if p_job is not null then
          v_sql := v_sql||' AND job='''||p_job||'''';
        end if;
      end if;
    
      open rc for v_sql;
      loop
        fetch rc into l_ename;
        exit when rc%notfound;
        dbms_output.put_line(l_ename);
      end loop;
      close rc;
    end;
    /
    ALLEN
    WARD
    MARTIN
    TURNER
    PL/SQL procedure successfully completed.
    

    Even better: try to use bind variables.

  • Debugging in Eclipse Java remote objects

    Hi guys,.

    The following URL used to point to a WIKI page that describes the steps to configure Eclipse launch the JRun integrated flex server in debug mode, so that it is able to debug java code on the server side.

    http://labs.Adobe.com/wiki/index.php/Flex_Enterprise_Services: debugging

    Where is this information now? It is said that this has been moved to the site of release, but I can't find it now.

    Thank you
    Thunder Stumpges

    He has got to work! After much trial and error and research around
    on debugging JRun, I've got that works for me.
    Good luck
    Thunder
    _________________________

    Here's what I did:

    * Right click on your project in Java Server, select Debug as-> Debug...
    * If it does not already have a new configuration, click on the 'new '.
    button toolbar at the top left of the window.
    Name of the debug configuration and in the "main" tab set the main «»
    class' jrunx.kernel.JRun
    * Click on the tab "arguments".
    -Set of Arguments (without the quotes): 'start by default '.
    -VM Arguments (without the quotes):
    '- Dsun.io.useCanonCaches = false - Djmx.invoke.getters = true '.
    * PROBABLY USELESS (may work with Java JRE 1.5)
    -Select the JRE tab and select "Other JRE" and choose
    a java JRE 1.4.x
    * Click the Classpath tab and select entries of a user in the list, then
    Use "Add external Jars" to add:
    -All Jar of C:\fds2\jrun4\lib files
    -All Jar of C:\fds2\jrun4\servers\lib files
    -All Jar files of
    C:\fds2\jrun4\servers\default\flex\WEB-INF\lib
    * Click 'Apply' and 'Debug '.

  • AMT: operation time out when you try to debug via vs2005 Server Explorer

    using v110621 of ODP.net

    I have a valid connection to an oracle 9i DB. If I set a breakpoint in a stored procedure then click right sp in Server Explorer and to "start debugging".

    the immeadite window reads: -.

    The PL/SQL debugger starts.
    PL/SQL Debugger is listening on the port 49152.
    The database cannot connect to the PL/SQL debugger.
    Ends of PL/SQL debugger

    I get the following popup error message

    Server Explorer

    An error has occurred during execution of the procedure/function:
    ORA-30683: failure connecting to the debugger
    ORA-12535: TNS:operation expired
    ORA-06512: at "SYS." DBMS_DEBUG_JDWP', line 68
    ORA-06512: at line 1

    So im not sure what I should be specifying where to the debugger attaches?

    found this on the cshays blog, but I still don't understand if its something that I need to define locally or on the server?
    http://cshay.blogspot.com/2006/10/debugging-PLSQL-from-ASPNET-and-Visual.html

    Any help is greatly appreciated.

    See you soon

    In my case the problem was caused by multiple NICs on my development machine.
    ORA_DBMS_JDWP has been set at ip_address of wireless adapter which was on the other network segment as the oracle server.
    Rotation of the wifi adapter and then restart visual studio solved the problem.

    If you are using vmware workstation that ora_dbms_jdwp can also be assigned to the IP address of the virtual map of vmware.

    Sebastian

  • Debugging via command-line feature bb10

    Hi all

    Greetings to you.

    I am a little new app bb10 development and try to develop an app my application has modules that runs as a service and a module that uses this service every time that it is run.

    After running my service when I run my other module to use the service, nothing happens. so I wonder if we have some debugging method/tool/solution workaround available for debugging this type of scenario to understand what is happening and where the guilty are in my application.

    Thanks in advance hope to soon hear from the experts!

    When you say service do you mean without a head?

    If so, you should be able to use the normal debugging technical...

    http://developer.BlackBerry.com/native/documentation/Cascades/dev/tools/debugging.html

Maybe you are looking for

  • No option "not junk".

    Mail that is not junk is sent to the mailbox of junk e-mail. I tried to find the 'Not junk' option, but it can not be found. I go to the view, the option to customize the toolbar and then as the 'thumbs down' (unwanted) button is there, I don't have

  • iTunes TV - how "Mark as watched"...?

    Hello and happy holidays! It's maybe a stupid question, but I can't find how to mark a TV show like 'watched' in ITunes 12.3.2.35 or on the Apple TV 4? When I go to "My TV Shows" in ITunes on my Mac, the TV unattended watch show a blue dot next to th

  • Chess Titans and all other games went.

    I had once included with my Vista Chess Titans. IO went to play and he was gone. The game folder is empty. I wen t Panel of configuration/programs and features/Turn features on or off / games and ensured that all have been verified, including Chess T

  • System files integrity check and repair the error code = 0 x 4005

    I tried to upgrade Vista Home Premium Service Pack 2 several times. Now, after running Startup Repair, I'm - Root cause found: not specified system configuration change might have caused the problem. Result: doesn't have a = 0 error code x 4005 takes

  • Why the folders view has been removed from the Explorer in Windows 7?

    In Windows XP, when I have a file open, I can click on view > toolbar explore > folders and easily organize files and folders. In Windows 7, this feature seems to have been deleted, and now it is difficult. Is there a way to bring him back or a repla