Remote debugging with Apex and SQL Developer

Hello

I try to turn on remote debugging with Apex and SQL Developer.

I can debug the PL/SQL procedure when it is called from SQL * PLUS, but when I call the procedure from Apex 'Process', the debugger does not stop at breakpoints.

I checked that the procedure is called Apex process as I can see 'things' happening in the procedure but the debugger does not stop at breakpoints. The program being debugged (session Apex) manages to fix the SQL Developer debug listener.

Apex (OnSubmit) process
---------------------------

BEGIN

DBMS_DEBUG_JDWP. CONNECT_TCP ('10.176.20.225', 4000);
DONOTHING;
DBMS_DEBUG_JDWP. DISCONNECT;
END;


Procedure
-------------------------------------
CREATE OR REPLACE
PROCEDURE DONOTHING ACE
testvar VARCHAR2 (100);
BEGIN
update cross-set test_data = 'I came here 11111'; -It is run
commit;
testvar: = "aaa"; -bREAK POINT IS HERE
DONOTHING END;
/

Thanks in advance,
Paresh

Published by: pyadav1 on November 19, 2008 15:19

Hello

Sorry... seems I was too hasty in reading your question...

You also gave * DEBUG ON [Parsingschema]. [procediurename] * APEX_PUBLIC_USER (or ANONYMOUS or HTMLDB_PUBLIC_USER). Otherwise, the behavior is exactly the same as you have described...

The privilege of the DEBUGGING SESSION to CONNECT need to given to the schema analysis but the APEX_PUBLIC_USER schema needs debug privilege on the function or procedure...

Does that help?

Carsten-

Tags: Database

Similar Questions

  • problem running the session of remote debugging for specific oracle sql developer

    I have a problem running the session of remote debugging of sql server specific oracle developer.
    I get the following error:
    Connection to the database mmgrep - INNA.
    PL/SQL execution: ALTER SESSION SET PLSQL_DEBUG = TRUE
    Running PL/SQL: CALL the DBMS_DEBUG_JDWP. CONNECT_TCP ('inna.followap.com', '4029')
    ORA-30683: failure connecting to debugger
    ORA-12535: TNS:operation expired
    ORA-06512: at "SYS." DBMS_DEBUG_JDWP', line 68
    ORA-06512: at line 1
    Process is complete.


    I understand that Oracle is unable to connect to my PC.
    I have 2 different oracle servers to work with the sql developer. With one I can run debugger, with another - the errow above.
    I need to change to be able to start debugging with second oracle server.

    In tools | Preferences | ebugger, you can specify a range of ports for the debugger to use so you can limit it to those that are open on the firewall.

    And just to check, is the ip address that is displayed in the CONNECT_TCP call the right one for your PC?

  • Subversion integration wit jdeveloper and sql developer failure

    Hello guys!

    I'm really tired of trying to make this work, finally, I ask you for help. I implement subversion and I can't use jdev and sqldev integration. No matter what I try, the menus of the version control menu items are never released. I can application version in my subversion repository perfectly connected, can create new folders in any repository (I can also create repositories the of in j and sql developer and work with them), can perform a checkout complete BUT, when the application withdraws and reappears in the browser of the application there is not overlap of icons for files , or review or any what version submenu when you right-click. I really tested almost all combinations of versions, I was hoping that the new versions of the developers would have been useful in fact, but they do not have.

    I have a fresh install of jdeveloper 11.1.1.2.0, a new downloaded and unpacked developer sql 2.1 and a new installation of subversion 1.6.2 (Setup-Subversion - 1.6.2.msi of the Tiger, I tried this version in the end just because the SVNkit 1.3.0, that works with this version) and it does not work. I'm really lost now, so I understand that the best approach would be me following a procedure well known and well tested for details see WTH am I'm doing wrong. Unless someone identify my problem and can offer me a solution, that would be nice but I was not to exhaustively search with no luck.

    I'm ready for your questions or wisdom, please do not hesitate to ask what I should have said and I thank very you much in advance!

    Oh my. SVN_ASP_DOT_NET_HACK is a horrible hack used when using Tortoise SVN (according to me, it has been used to get around some nonsense with Visual Studio). Unset this environment variable! [url http://blog.dotsmart.net/2008/02/19/moving-on-from-svn_asp_dot_net_hack/] This can help. You should be able to use the recent plu VisualSVN server and with 11.1.1.2 (assume you meant 11 and not 10); I tested it, and that's fine.

    John

  • How to debug the package in sql developer?

    Hello

    I need to debug procedures in my package in the sql developer 1.5.5 version. In the debug log, I received the following:

    Connection to the database < databasename >.
    PL/SQL execution: ALTER SESSION SET PLSQL_DEBUG = TRUE
    Running PL/SQL: CALL the 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 user DEBUG SESSION privileges to CONNECT and DEBUG ANY INTERIOR.
    Process is complete.
    The database < databasename > disconnected.

    I have granted the privileges of the user DEBUG CONNECT SESSION both to DEBUG ANY INSIDE system in the following way:

    GRANT DEBUG ANY PROCEDURE ESM_OWNER;
    grant the DEBUGGING SESSION to CONNECT to ESM_OWNER;

    However, I still get the same error. What I've done wrong? I really appreciate all the help to solve my problem.

    Thanks in advance!
    Cindy

    You have a firewall blocking this port? In addition, your database is running on the same machine that you use SQL Developer, or on a remote host? It's remote, you should provide the IP address of your local computer, not 127.0.0.1

  • Autocommit DDL: difference between SQL and SQL Developer * more?

    I asked this in the SQL forum (commit auto DDL: difference between developer SQL and command-line client?), but it has suggested it might be a problem in SQL Developer, so I thought I would ask here.

    I'm trying to understand what exactly happens when an error occurs when a transaction is committed because of a DDL statement. I noticed that with SQL Developer, if the DDL statement CREATE TABLE, the statement is executed, even if the DML statements which I entered before CREATE TABLE violates a deferred constraint, so that the transaction fails. In SQL * Plus, it's not the case: the table is not created. I have no automatic validation. I'm using Oracle 10 g XE.

    That's what happens in SQL * more:
    SQL> create table table1(a number);
    
    Table created.
    
    SQL> alter table table1 add constraint table1_a_uq unique(a) deferrable initially deferred;
    
    Table altered.
    
    SQL> insert into table1 values(1);
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> insert into table1 values(1);
    
    1 row created.
    
    SQL> create table table2(b number);
    create table table2(b number)
    *
    ERROR at line 1:
    ORA-02091: transaction rolled back
    ORA-00001: unique constraint (BOEK.TABLE1_A_UQ) violated
    
    
    SQL> select * from table2;
    select * from table2
                  *
    ERROR at line 1:
    ORA-00942: table or view does not exist
    If I put the same code in SQL Developer (versions 1.5.5 and 2.1.0.63), the table is created.
    This is my script:
    create table table1(a number);
    alter table table1 add constraint table1_a_uq unique(a) deferrable initially deferred;
    insert into table1 values(1);
    commit;
    insert into table1 values(1);
    create table table2(b number);
    select * from table2;
    And this is the output of SQL Developer:
    create table succeeded.
     alter table table1 succeeded.
    1 rows inserted
    commited
    1 rows inserted
    
    Error starting at line 9 in command:
    create table table2(b number)
    Error report:
    SQL Error: ORA-02091: transaction rolled back
    ORA-00001: unique constraint (BOEK.TABLE1_A_UQ) violated
    02091. 00000 -  "transaction rolled back"
    *Cause:    Also see error 2092. If the transaction is aborted at a remote
               site then you will only see 2091; if aborted at host then you will
               see 2092 and 2091.
    *Action:   Add rollback segment and retry the transaction.
    B                      
    ---------------------- 
    
    0 rows selected
    As you can see, the table is created in SQL Developer, but not in SQL * more.

    I wonder why it's different.

    Well Yes, it is a slightly different situation, because you issue 1 statement that executes internally 2 statements.
    But the problem is the same: the error handling. Where sqlplus rejects again (implicit) statements, sqldev goes ahead and runs them anyway. Personally, I'd say sqldev is more consistent and sqlplus is not, because run the following instructions (explicit).

    Kind regards
    K.

  • Installation of Oracle and SQL Developer data

    Hi, I was looking for some help/advice with regard to the installation of an SQL Developer and Oracle database on a 32-bit Windows 7 computer. I have been asked to create a database to store the data that I create through reports in Excel format, so I'm required to create a local database but do not know how to do this. Also do not know if I install the Express edition or Oracle 11 g R2 database. If someone could please advise on how I can get this has begun or even links/tutorials that guide me in getting this installed with a localhost.

    Thanks in advanc.

    318f20b8-a3d0-4FB4-bb0f-73785250b7d4 wrote:

    Thanks guys, I managed to install Oracle 11 g 2 and I installed a database using dbca tool and I can connect to my database. One thing I noticed is that when I look in my tables in sql developer I see plenty of tables different i.e. def$ _, logmnr_, etc. and I don't know why did I expect an empty table.

    Thank you for all your help btw.

    One of the fundamentals of relational databases is that they use their own facilities to manage themselves.  This means that the database management system uses the database to manage data on the database using exactly the same facilities (tablespaces, tables, user accounts, procedures, etc.) that an application uses to store application data. See "data dictionary" so there is no such thing as a completely database empty.

    As said by others, you do NOT want to create your own tables under patterns oracle (users) or in the disc spaces logics own oracle (esp. SYSTEM and SYSAUX).  Create your own account user/schema.  Create your own tablespace. Do this by default tablespace for the user.

  • Remote debugging with Visual Studio

    Our web team use Lab Manager but encountered problems with remote debugging of applications.

    They run Visual Studio 2008 machine company in the field 'corporate.internal '. Then, they want to debug remotely a race of app in the lab environment manager (can be an IIS application, sharepoint etc). This lab environment is an area (sand.internal) with a number of virtual machines. Now that there are several areas sand.internal of Lab Manager, and we do not have trust relationships between the two, they are unable to remote debug their applications.

    Anyone know if it is possible to debug remotely an application within the LabManager using VS 2008 (from untrusted domains)? I've seen plugins for VMWare Workstation and subjects I seem to only appear at this address, although earlier am came across the following blog that can lend to manually set up:

    http://blogs.VMware.com/workstation/2008/04/using-the-vmwar.html

    Copy the folder that contains msvsmon.exe on your local computer to the remote computer

    • It will be located in a folder that is similar to:

      • C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\

        • It could also be in the folder "Program Files (x 86)".

        • It could also be in the folder "Microsoft Visual Studio 10.0"

    Run msvsmon.exe on the remote computer

    Set access options to disable authentication

    • No authentication

    • Allow any user to debug

    You select Visual Studio local "attach to process".

    Change shipping and enter the machine virtual IP or external IP address that applies in your case

    After it connects, select the correct process and you leave.

  • TimesTen and sql developer

    Hello world. Need help.

    Sorry for my English :-)

    I try to use TimesTen 11.2.1. (Windows-32)
    I install it and connect (use ttIsql). Everything is OK.

    Command > Connect ttSOP;
    Successful login: DSN = ttSOP; UID = gdi; data store = C:\TimesTen\tt1121_32\databas
    e\ttSOP; DatabaseCharacterSet = CL8MSWIN1251; ConnectionCharacterSet = US7ASCII; PILOT
    = C:\TimesTen\tt1121_32\bin\ttdv1121.dll; LogDir = C:\TimesTen\tt1121_32\logs; TypeMo
    = 0; PLSCOPE_SETTINGS = IDENTIFIERS: NONE;
    (Default AutoCommit = 1).
    Command >

    But, when I do a test plug on TimesTen with SQLDeveloper (Version 2.1.0.63.73), and then I got an error message:

    Cannot connect to the database. The error encountered is: TimesTenhttp://TimesTen 11.2.1.4.0 DriverTimesTenTT8517 ODBC: cannot join the memory shared PL/SQL; PLSQL_MEMORY_ADDRESS invalid or already underway of the file "db.c", lineno 9795 - use, procedure 'sbDbConnect '.

    Variable PLSQL_MEMORY_ADDRESS has the value by default (5b8c0000)

    THX, responsible to no idea :-)

    PS. does anyone know another program to connect to Oracle TimesTen? (for example, SQL, PL/SQL Developer, developer TOAD, etc.)

    Edited by: user4661491 the 07.01.2010 03:10

    Hi Dan,.

    I think you found this error in SQL Developer, because the virtual address specified in PLSQL_MEMORY_ADDRESS has been occupied by a segment shared memeory or a shared library in the process SQL Developer space. You will need to find a different virtual address for PLSQL_MEMORY_ADDRESS. This issue impacts of related only, direct connections and it tends to be a problem on 32-bit OS, particularly Windows.

    My recommendation would be to set up a client DSN and use it for you connect with your local of TimesTen database when you use SQL Developer.

    Simon

  • Oracle 11g XE and SQL Developer

    Hello:

    Very new here.  I don't know where to post anything.  My apologies, but I'm all over the room.

    I installed 11g and downloaded SQL Developer (not even sure if it should be "installed" because it's just a zip file).

    In any case, on the SQL command line I get SYSTEM CONNECT, then my password.  I get the following error:

    ORA 12154: TNS could not resolve the connect identifier specified.

    Also, the "get started" link not working anymore.  Don't know what's happening, or if it is specific to my laptop.  I tried to connect two days without result.

    Thanks for any help.

    Your headset does not work: OracleXETNSListener service started?

  • Help with MS Access SQL Developer Import (problem of DateTime field)

    So here's my dilemma...

    I am currently trying to import from MS Access to SQL Developer, by exporting MS Access to MS Excel and then import in my table of the exporting Excel sheet. What happens is that when I import the excel sheet, it is does not keep the format of date/time / I tried several different formats, but everyone seems to exclude the time and the date.

    My field of date/time is currently set up like this on SQL Developer:

    DD/RRRR/MM HH: MM: SS AM/PM

    And the Excel sheet, I'm importing the field corresponding, defined as follows:

    mm/dd/yyyy/hh/mm/ss AM/PM

    The answer (s) I'm importing is as follows:

    Date/time physical_cpu server_id

    01/11/2013-12:01:23 AM scc415 6.03999996

    When the record is imported, it eliminates the time, so the imported data are:

    Date/time physical_cpu server_id

    01/11/2013 6.03999996 scc415

    Any idea on how to get this timestamp to import properly? Many appreciate the ideas in advance!

    Looks like I have found the solution. For some reason, export to leave access to Excel first and then open and save the file as a .csv instead of a .xlsx, date/time information are maintained. This problem has been resolved.

    Found the solution on the following link for anyone interested.

    Import from excel using SQLDeveloper date/time field

  • Maker data and Sql Developer

    Just downloaded sqldeveloper EA 3 - and the ability to drag a quick pattern in data for a logical diagram maker is gone.

    Is this even possible now in separate data Modeler product?

    It is still there - you can drag & drop browser SQL Developer only tables in relational model empty diagram. Pressing Ctrl key will change the child behavior - all tables is also imported.
    You can drag & drop of the types of objects on the types of data model diagram.
    Now you have more possibilities - to reorganize/format and diagram to print, generate the DDL.

    Philippe

  • Creation of a new database Oracle and Sql Developer

    Hello

    I am a newbie to Oracle and and a beginner not so Sql Server and Visual Studio.

    I am trying to learn Oracle on my local machine. I want to create a new Oracle database and start learning from here.

    I downloaded the Client Oracle sql developer and maker of data. Could someone please provide some guidance on how to create an Oracle database?

    From the responses, it seems that none of the articles I've mentioned actually creates a database. SQL Server provides a free download, also a developer version for a small fee. What specific Oracle product would be better to provide this type of service?

    Thank you
    Mark

    Published by: user8948230 on January 7, 2010 09:50

    You can download the company for educational use via the OTN site. There is also the Express edition, which includes limits on the OTN site as well.

    Whatever it is, read the agreements to make sure that you use it properly.

  • APEX and SQL Loader

    Is it possible to use SQL within the APEX charger? I want to have a table editing a csv file... normally I would use the WWV_FLOW_FILES table, but with this file, it mixes tabs and comma in the data, in order to create a reliable upload script is becoming a nightmare. I would like to take advantage of the sql loader so I can specify the delimiter, optional quotes etc. The file will be in the same location on the file system, so a regular and automated process would be perfect.

    If so, does anyone know of a tutorial that could help out me?

    If you have a chance, you can send me the error?

    Thank you
    Tyler

  • Configurations of Microsoft - what to do with IIS and SQL Cluster

    Hello

    I have a band with 3 hosts vSphere cluster. Now I'm going to create my SQL Server and IIS servers. I setup IIS to use network load balancing, and I was thinking about using Microsoft Failover Cluster in win 2008 for my SQL servers. But after checking this doc on http://www.vmware.com/pdf/vsphere4/r40/vsp_40_mscs.pdf , it seems clear that my setup is not supported. I have an iSCSI SAN and I my hosts in the cluster. So what is the best way to consolidate my SQL servers in vmware?

    Thank you

    Interesting, you raise a good point.

    I never thought about the downtime of the VM alone in a VMware HA scenario vs two separate MV in a MSCS scenario.

    Obviously in such a perspective FT would be of no use as the second hidden VM obscures what the master did... If you are servicing the master that the slave gets thus maintained at the same point in time.

    If 2 hours is not enough to deal with a single virtual machine, I think your only choice is to stay on a physical cluster. I have limitations in the new pdf vSphere that you posted above and they are even worse than before. I don't see how one could ever use MSCS on vSphere if they respect these limits.

    Massimo.

  • Known issue with APEX and Chrome (branches)?

    Using Application Express 3.2.0.00.27
    Chrome 3.0.195.38

    I consulted a production to work application and sought a RDI who gave me the following error message:
    ERR-1777: Page 22 provided no page to branch to. Please report this error to your application administrator.
    
    Restart Application
    I don't get the error in IE or Firefox, I get the whole of the answer I'm looking for.

    Chrome isn't a browser supported for now, so any problem you are experiencing is exactly that, questions... Until the APEX development team document that browsers other than IE & Firefox browsers evalid ar, then you are where you are...

    Thank you

    Tony Miller
    Webster, TX

Maybe you are looking for

  • The difficulty to charge my iPad since the iOS 10 update

    Since I did the update iOS 10 I got the wrong charging my iPad.  Using the same connection.  What can I do to fix this?

  • My Satellite L850-A921 closed and could not start

    I have my laptop closed and did not start again even with problems different shoots:-You press the power button for more than 15 seconds, but no response-A out the battery and the power supply lead for 20 minutes and then plug in the power again, no

  • How can I disable plot a graph multi-intrigue 0?

    I'm traced several channels of data, by using the check boxes draw visibility to enable or disable specific channels, if I can just see the channels of interest (see figure).  However, if I try to turn off the plot 0, I can't - the box remains checke

  • Entry point not found

    I keep getting messages om starts WCESCOMM. EXE, point of entry not found. It keeps me start the system, but it's a nuisance.

  • BlackBerry Smartphones separating e-mail personal work email

    I have 2 personal email accounts and an ACCT of work.  Each staff acct has its own icon on the desktop that I use to view the Inbox for this account, and that shows when I have the new msgs.  I would like to continue this.  But I would like to stop t