Debug plsql code in sqldeveloper

Hi all,
I am new to sql developer, can anyone help me how can i debug a plsql code in sqldeveloper for each step ( each line ) and also i want to view the value of the variables used in plsql code after completion of each line execution.
Thanks,

http://www.thatjeffsmith.com/archive/2011/12/the-plsql-debugger-strikes-back-episode-v/

Similar Messages

  • MSI Big Bang Xpower II did not post - Debug LED Code #67

        
    I need HELP...!
    I have a problem my board did not post , did not start and i have the DEBUG LED CODE # 67 displayed.
    There is my build
    MSI Big Bang Xpower II X79 LGA2011
    Intel Core i7 3820 LGA2011 Processor
    Corsair Cooling Hydro Series H100 CPU Cooler System LGA2011
    G.SKILL Ripjaws Z Series memory (F3-12800CL-32GBZL) DDR3 1600 PC3-12800 - CL10-10-10-30 (8192MB X 4) - 32GIG located in DIMM 1-3-5-7
    Gigabyte GTX570 OC Edition video card in slot PCI-E2
    Western Digital Velociraptor 300GB 2.5" SATA 3.0Gb/s 10,000 RPM
    LG BH12LS35 Blu-Ray Writer 12X BD-R 16X
    Ultra LSP-750 Power Supply
    Cooler Master HAF X EATX Tower Case
    When I put the power on, the power supply activated fans and drives spin, all the LEDs on the motherboard light up but nothing appears on the screen.
    No video signal at all and the computer stop and restrart every 15 seconds. When these reset occurs there is no beep on the speaker , nothing at all, no flashing screen either, nothing.
    The DEBUG LED display a sequence of flashing numbers 19 - 60 - 19- 60 - 67 and stop showing still the number # 67 for about ten seconds and then he reset again.
    I carefully followed the instruction manual for the installation, I installed the memory modules in slots 1 3 5 7, i put my video card in slot PCI-E2. all the power wire are connected correctly 1 x 24 pins ATX, 2 x 8 pins ATX, 1 X 6 pins , all the wire from the front panel are correctly connected to the m-connector in JFP1 & 2.
    Did i forget something, I don’t know what the debug led code # 67 exactly mean and what i have to do to fix-it
    Someone has an idea what is wrong or have any suggestion to solve this issue.
     Thank's all for your help.

     
    I followed some advice to remove the memory modules and this is actually caused by the use of memory but you will see I still have a curious bug.
    I referred to the instructions manual to the letter for the choice of DIMM SLOT to put the memory module in single, double, triple and quad channels.
    If I install 1 memory module in the DIMM SLOT  1 to operate in single channel, everything is normal and the motherboard  POST normally and show  the SETUP SCREEN.
    If I install 2 memory modules in  DIMM SLOT  1 & 3 to run in dual channel, everything is normal and the motherboard  POST normally and show  the SETUP SCREEN.
    If I install three memory modules in DIMM SLOT 1 - 3 - 5 to run in triple channel, everything is normal and the motherboard POST normally and show  the SETUP SCREEN.
    As soon as I install four DIMMs modules mémoiredans SLOT 1 - 3 - 5 - 7 to run in quad channel, the motherboard  freezes and does NOT POST and show  code 67 on the debug led and has reset itself every 20 seconds.
    I tried all my RAM modules alternately in both single channel and everything works normally.
    I did the same thing in rotation for both dual and triple channel and everything is still normal with all fourth memory modules individually.
     As soon as I put a fourth memory module it freezes and displays the code 67 or L9 dependent side as you look. 
    So my bug is my motherboard MSI Big Bang Xpower II do  not want  to work in quad channel.
    Do you have any idea where I should look for, is a setting in the BIOS  , I have flashed the bios to the latest version V1.5
    I included the screenshot of the BIOS to see if you can  notice something wrong. 
    Thank you

  • ORA-01403: no data found Error in PLSQL code raised during plug-in processing.

    Hello OTN community,
    We are having the access to APEX problem. a New user was setup to access the APEX application. When I test to login as a new user, I get the message "ORA-01403: no data found Error in PLSQL code raised during plug-in processing.". When click OK to the disply message, the application will take me out of the sstem. I need help to even understand what is happening. I didn't develop the application, there is no documentation for this application, I am just supporting the application whenever there is a problem and I am new to APEX. As you can see I need help to figure this thing out. Your help is dearly appreciated.
    Thank you OTN

    Try to check the query that is executed and check if there is data or not

  • How to write a file in unix server through oracle plsql code

    Hi All,
    My requirement is to create and write a file (any file for eg txt file) in unix box with in a specified directory through oracle plsql code.
    Oracle sits in windows server.
    using utl_file package we can create directory where oracle resides and write it there in oracle server in our case windows..
    But here we need to create,write a file but in unix server which is different server than where the oracle server resides..
    we are using Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    Can any one one please help me out in this issue...
    Thanks in Advance.
    Prakash

    Mr Prakash,
    Why are you asking this question multiple times in every forum you can spell?
    Valid responses have been presented to you already two times.
    Can you explain why you can't follow them up, but continue to abuse this forum by repeating doc questions?
    Sybrand Bakker
    Senior Oracle DBA

  • Displaying Images in a Report or in PLSQL Code

    Hi all,
    I have a products catelog in an items table (item_id, item_name, item_image (blob)). I want to display it in a table form but Reports in Portal30 do not allow images.
    I can write simple PLSQL code to display table contents in tabular form (using htp, htp packages) but I could not find any procedure/function to display image stored in a db table to an HTML table.
    I shall be grateful for any help or hint regarding this. You can mail me directly if you like.

    Armaghan
    This question is best asked in the Oracle9iAS Portal Applications Forum.

  • How to register a custom plsql code

    Hi
    i have wrritten a custom plsql code for my Overtime entries validation for payroll processing.
    Can any body tell me how to register it in application.
    Secondly i want to get the output file generated by report submission on my desktop.i want to know where the report output files for HR and payroll are stored so that i can get them through FTP.
    Regards

    if you want to integrate your plsql into a fast formula, please download the fast formula guide from metalink. Or ask your functional payroll consultant.
    All reports and processes in Oracle Apps are handled via concurrent programs and requests. When a concurrent request is finished, click on the output button, and depending from the filetype, your browser will take action.
    All concurrent output is also stored on the concurrent server. Ask your apps dba where she mapped the concurrent output directory. But i do not see why you should need this.

  • URGENT HELP: When some users submit, application carries empty fields from html components to plsql code

    Hi APEX users and developer, especially forum's active users, please get me rid of this problem because it is really very bad situation.
    I have a real trouble with application. It behaves unusual. Application is used by 60 users but only 3 of them have these problem and they can not use the application anymore.
    Application is
    http://apex.oracle.com/pls/apex/f?p=70547
    After fields are filled and some rows checked from tabular form in page, user submits the page. Process called newReyestr calls plsql procedure from package with inputs from page. But only same 3 users get empty fields in plsql code. I see it just after when the first line stepped in procedure.
    So, "what is the problem?"

    Hi NoGot,
    you know, I have not written big quote. The code was big. But it has no any meaning. Because problem is in first line. No need to understand it.
    There is no any difference between those users. They also tried it from different browser and even computers.
    BTW: I am not russian.

  • Can I debug c++ code

    I have some bug in my C++ code. I useing MS Visual studio .net to compile it. How I can enable "Step into" that I can see what happening in my c++ object space when I call that native method from Java?

    The easiest way to debug this code USED TO BE to open the Dll project in Visual Studio, then go to the project options and make some some settings. The specific settings involved were the invoking program (Make that java.exe.), and the parameters to the program (Make those the parameters that will make jvm.exe execute your java program.).
    This is the way I did it using VC 6.0. It probably still works in the new version.

  • NLS issue in Java/PLSQL code [ using ROWID]

    I have NLS related question regarding the following scenario in Java/PLSQL code ::-
    OracleResultSet ors = (OracleResultSet) stmt.executeQuery("select rowId from t where t.col = 'XX'");
    // The above query could return multiple rowIds.
    String strVal1 = null;
    String strVal2 = null;
    if(ors.next())
    strVal1 = ors.getROWID(1).stringValue();
    if(ors.next())
    strVal2 = ors.getROWID(1).stringValue();
    ArrayList strList = new ArrayList();
    strList.add(strVal1);
    strList.add(strVal2);
    Now I need to pass a list of rowId's from Java to PLSQL function f().
    oracle.sql.ARRAY rowListArr = convertArrayListToRowPointerList(strList, conn) ;
    OracleCallableStatement cstmt = (OracleCallableStatement)
    cstmt.prepareCall("begin f(?); end;");
    cstmt.setObject(1, rowListArr);
    cstmt.execute();
    where:-
    static oracle.sql.ARRAY convertArrayListToRowPointerList(ArrayList arr, Connection conn)
    throws SQLException {
    oracle.sql.ArrayDescriptor stDesc = ArrayDescriptor.createDescriptor
    ("DBUSER.ROWPOINTERLIST", conn);
    oracle.sql.Datum[] keyVals= new oracle.sql.Datum[arr.size()];
    for(int i = 0; i < arr.size(); i++) {
    keyVals[i] = new oracle.sql.CHAR((String) arr.get(i),
    oracle.sql.CHAR.DEFAULT_CHARSET);
    oracle.sql.ARRAY keyArr = new oracle.sql.ARRAY(stDesc, conn, keyVals);
    return keyArr;
    and
    create or replace type DBUSER.ROWPOINTERLIST as table of varchar2(4000);
    Will there be NLS issues in the above code, where I pass the rowId content
    that I obtain from one query, as array of string bind variables to a subsequent PLSQL procedure? --- first approach
    Or
    do I need to pass the rowId list , as a array of oracle.sql.ROWID via bind variables? -- second approach
    The problem I have in second approach is that in the DB we cannot define a type as a table of ROWID's. So currently I have RowPointerList as a table of varchar2's (note the length of list of rowId is not predetermined in my case, so I user table instead of varray).
    However I was wondering if the first approach will have any NLS issues.
    Will appreciate your comments.
    Thanks

    ROWIDs are represented as either hex-encoded values or base64 encoded values. Both encodings use pure ASCII, so there should be no NLS issues.
    I am not very familiar with the oracle.sql.ARRAY type, but unless absolutely necessary, I would avoid the oracle.sql.CHAR datatype (assuming 10g drivers). Using java.lang.String is preferred.
    -- Sergiusz

  • How to call jsp in PLSQL code (to upload a file in IFS)

    Hello,
    We develop our PORTAL (9.0.2) with PL/SQL way.
    We want to make a form to upload file in IFS.
    We create a form like that :
    htp.formOpen(cmethod =>'post',
         cenctype => 'multipart/form-data',
         curl => '/pls/ptlcollab/ptlcollab.GestionDoc_screenbuilder.manipTableIFS',
         cattributes => 'name="ifs"') ;
    htp.TableData(htf.FORMFILE(cname=>'file', cattributes => 'size="25"')) ;
    The manipTableIFS procedure calls a loaded java procedure which called a servlet which work with IFS.
    BUT, modplsql seems to want we directly upload the doc in a table but we want to upload the doc in iFS !!!
    So, the solutiuon seems to call a jsp (or a servlet directly from our plsql code).
    BUT, how could I do that ???
    Any help would be greatly appreciated.
    Regards.
    Luc.

    Something along these lines ought to do what you want:
    <html>
    <body>
    <form name='foobar' action='foobar.jsp'>
    <script language='Javascript'>
    function askim() {
      if (confirm('Is you sure?')) {
        document.foobar.submit();
      } else return false;
    </script>
    <input type='button' value='Submit' onClick='askim()'>
    </form>
    </body>
    </html>
    Your mileage may vary.
    But the idea here is that the Javascript merely submits the form if the user clicks "OK" on the confirmation pop-up. Otherwise, nothing happens. The form is submitted to a JSP file which accepts the request, does something (such as call your Java class), then prints out some HTML in response.

  • Debugging ABAP Code From Within WebDynpro

    Hi experts,
    I would like to check whether i can debug ABAP code from within webdynpro if i m using a remote J2EE server.
    So netweaver development studio is on my machine
    J2ee server is on a remote machine
    R/3 is also on another remote machine
    Thanks.
    Rgds,
    Daniel

    Hi Daniel,
    One thing note here is
    "You have debugging authorization in the ABAP Workbench in the relevant system.
    Since debugging in the ABAP system via load balancing is not supported, you must reconfigure your JCO destinations so that the calls take place on a dedicated ABAP application server. For Web Dynpro, this is done in the Web Dynpro Content Administrator. In the destination maintenance, specify Single Server Connection as the Destination Type ".
    Other than that ideally it works with j2ee and abap on diff systems.
    Regards
    Ayyapparaj

  • Can i submit  a page and later execute a plsql code in some seperate page..

    I have a page.. this page has a button and the action for it is submit ..database action is insert activity..What i need is the moment
    i press the button .. after the submit activity has been done .. a plsql procedure which fires when i redirect to page.. 100 also be executed.
    Normally if my button action type is redirect to page .. Then this procedure gets executed...Since it is in redirected page.
    But If I change the action type... to submit this is not possible . ..Since the activity that occurs is the database insert activity..
    I also need the plsql code which is other page to be executed..
    Any information provided will be appreciated.

    i got it solved.. issue was..just
    needed to write a plsql code.. which will do a insert activity and then ..it does a redirect of page..I changed the button action from submit to link to page
    Issue is sorted
    Thanks

  • Hide or encrypt password in SQL/PLSQL code

    Hi,
    I need some help or suggestions to hide or encrypt database user password in SQL/PLSQL code. In our environment, we use a connect string with username/password for the JDBC connection. Our goal is to take out the password string and read it or pass it to the code on the fly.
    Thanks,
    Subroto

    So in the database somewhere you are storing username and password credentials? How do those credentials get sent to the Java application? Presumably, the Java application has to connect to the database, requiring a JDBC connection string, in order to query the table in order to get the username and password you've stored in the database.
    Assuming there are two different JDBC connection strings-- one in the Java application that connects to the database and a second that is stored in the database and used later by the Java application, who do you want to protect the data from? Do you want to protect it from other database users? Or do you want to protect it from the Java developers? Or something else?
    Justin

  • LSMW VD51 , Validations in Begin of Transaction; how to Debug the code?

    Hi All,
    I have written code for validations i Begin of Transaction in the field mapping 5th step of LSMW for VD51.
    Now this code not getting triggered at the time of Conversion of Data. How to debug the code. I have put a static break point 'BREAK-POINT' still not getting triggered.
    Any suggestion / solution for this issue.
    Thanks and Regards,
    Narsimha Kulkarni

    Hi Narshimha,
    Make any mapping error during mapping and check the syntax of mapping it will drag you to the lsmw report there you can put your break point. You can check the report name from transaction code as well.
    Remember this mapping block will execute when you execute the step Convert Data in LSMW.
    Regards
    Dhirendra

  • Which are the advantages of OWB Mappings over PLSQL code?

    Hi,
    I was wondering which are the advantages of OWB (10gr2 or 11g) Mappings vs simple PLSQL code when the mappings are, for performance reasons, only generated in set based mode.
    Regards
    Maurice

    I'd say it's the general benefits that an ETL tool is considered to have over hand crafted code e.g. maintainability and traceability. The latest versions of OWB also make it even easier to maintain TYPE2 dimensions etc.
    Of course benefits go the other way as well in that if you want the optimum performing code then a skilled PL/SQL developer will deliver that.
    Cheers
    Si

Maybe you are looking for

  • Can't view PDF documents

    I downloaded Acrobat 9. When I open PDF documents from my email the content looks like an unrecognized language, gibrish. However the same file can be opened and viewed if I open it as "open as a web page'. What is the solution? yoram. 

  • Configuration example for QuickVPN on Windows 8.1 and RV016

    I have been using a gateway-to-gateway VPN for years between two RV016 routers. I am adding a few Surface Pro tablets for our salesman and I need to configure VPN clients on one of the routers. Can this be done? Can anyone provide an example of this

  • Ken Burns reduces photo resolution in slideshows?

    Hey gang- I'm running iPhoto 8 v7.0.1 on my new 24" 2.8GHz iMac. I've noticed something I hadn't detected in earlier versions of iPhoto- that is, when I'm playing a slideshow, photo quality if "Automatic Ken Burns" is enabled appears significantly lo

  • Unable to read hotmail in firefox, but can in IE which I don't like

    When I go to my hotmail account, the messages come up but I am not able to open them or delete them. I can do both in IE but I do not like IE. This seems to happen every few days. Also have a problem loading gmail in Firefox but not in IE.

  • Updating xml file by iTunes library

    I have several iTunes libraries, managing them with 'iTunes Library Manager', bought from Dougscripts. When I add songs to my (main) library or make some changes in the data, all is perfectly visible in iTunes. As I use the iTunes data in a FileMaker