Plsql_code_type NATIVE and DEBUG true??

Hi,
In the documentation i've read that we can use pl/sql debugging tools for program units compiled for interpreted mode (but NOT for those compiled for native mode).
Then, if i have:
alter session set plsql_code_type=native
alter package my_pkg compile DEBUGWhy can i specify DEBUG? Because it is compiled in native mode, and in native mode we cannot use debugging, isn't it? The last statement shouldn't have cause an error?
Thanks

Roger,
When I says alter session set plsql_code_type=native; it means all subsequent automatic recompilations of that library unit will use native (machine code) compilation. Ok.
After that I says, alter package my_pkg compile DEBUG; it means I am going to compile the package with DEBUG option and DEBUG option says compiler to compile and generate the code for debugger. Here debugger will read the compiled code in native compilation.
There is no error, simply you are going to provide the native compiled code to debugger.
Here one more parameter plays big role :
PLSQL_DEBUG
PLSQL_DEBUG specifies whether or not PL/SQL library units will be compiled for debugging.
Values:
true - PL/SQL library units will be compiled for debugging
false - PL/SQL library units will be compiled for normal execution
When PLSQL_DEBUG is set to true, PL/SQL library units are always compiled INTERPRETED in order to be debuggable.
When the value of this parameter is changed, it has no effect on PL/SQL library units that have already been compiled. The value of this parameter is stored persistently with each library unit.
Regards
Girish Sharma

Similar Messages

  • Build and Debug Problem 10.2

    I just installed 10.2 and did a Build and Debug. I got an error that it couldn't run. It is saying that some property in the Oracle web determination has to be set in the application.properties file. I have no idea what the message is talking about. Any help is greatly appreciated.
    Thanks,
    Terry

    Thanks
    I changed the enable.debugger to true and saved the application.properties file
    Opened the project and did a build and debug. Got this message
    type Exception report
    message. Does the fact that this project isn't in the Projects directory matter?
    Thanks,
    Terry
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet.init() for servlet WebDeterminationsServlet threw exception
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Unknown Source)
    root cause
    com.oracle.determinations.interview.engine.exceptions.RulebaseLoadingException: could not load rulebase: E-Verify
         com.oracle.determinations.interview.engine.local.LocalInterviewRulebase.getRulebase(LocalInterviewRulebase.java:163)
         com.oracle.determinations.interview.engine.local.FileRulebaseService.<init>(FileRulebaseService.java:86)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.initialise(LocalInterviewEngine.java:91)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.<init>(LocalInterviewEngine.java:34)
         com.oracle.determinations.interview.engine.InterviewEngineFactory.createInstance(InterviewEngineFactory.java:19)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:163)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:91)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.io.IOException: Caught exception class javax.xml.stream.XMLStreamException: Unexpected schema version in screens file: 5
         com.oracle.determinations.engine.local.ScreensLoader.loadScreens(ScreensLoader.java:260)
         com.oracle.determinations.engine.local.ScreensLoader.loadScreens(ScreensLoader.java:139)
         com.oracle.determinations.engine.local.CachingRulebaseLoader.loadRulebase(CachingRulebaseLoader.java:308)
         com.oracle.determinations.engine.local.LocalEngine.getRulebase(LocalEngine.java:192)
         com.oracle.determinations.interview.engine.local.LocalInterviewRulebase.getRulebase(LocalInterviewRulebase.java:151)
         com.oracle.determinations.interview.engine.local.FileRulebaseService.<init>(FileRulebaseService.java:86)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.initialise(LocalInterviewEngine.java:91)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.<init>(LocalInterviewEngine.java:34)
         com.oracle.determinations.interview.engine.InterviewEngineFactory.createInstance(InterviewEngineFactory.java:19)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:163)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:91)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Unknown Source)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.31 logs.
    Apache Tomcat/5.5.31

  • The PyramidVille game in Facebook is not loading.I have no problems with the other games.I'm receiving the message" Forbidden 403" CSRF Verification failed.Request aborted. More information is available with Debug= True

    The PyramidVille game in Facebook is not loading.I have no problems with the other games.I'm receiving the message" Forbidden 403" CSRF Verification failed.Request aborted. More information is available with Debug= True edit

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)

  • WSP in debug=true status in webapplication running on production

    Hi
    We have a web application running on production sever in our organization, nearly 34 .WSPs are deployed and unfortunately all with the debug=true status.
    Recently, we are facing a problem of 100% CPU usage and the users are getting a message of server busy every minute, as CPU is not able to process the requests in the queue faster.
    Please clarify if this problem is due to our deployed wsps (in debug mode), if yes then how to solve it.
    Thanks
    Paru

    Hello,
    Having your wsp in release mode won't help you on this (even if it is a good idea to have them in release).
    You should take a look a the code of your wsp, see if you have undisposed item (SPSite, SPWeb and so on)
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?

    Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; I get the "end program" message and have to say "end now"it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?
    - I've used Firefox exclusively for around 2 years.
    - My outlook express has no problems
    - other programs seem unaffected; it seems peculiar to Firefox.
    - my main use is surfing the net, primarily entering competitions on line via specialist competition sites.
    - every day at some stage(s) I have to switch computer off as Firefox has got very slow/sticky/freezes.
    I'm not techy by any means, but I can only thing of un- and re-installing to hopefully start with a clean slate.

    Sounds like something is keeping Firefox from closing properly. See this: <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • How can I build and Debug Tomcat 5.5 under Eclipse?

    http://jakarta.apache.org/tomcat/tomcat-5.5-doc/building.html
    I am doing some rearch on Tomcat and want to build and debug Tomcat5.5 under Eclipse. Originally tomcat is built with ANT, it downloads all components from different CVS and build them together.
    I'd like to import Tomcat Source code (only the core components, such as catalina and Coyota, Jasper) and build them with Eclipse Bilder, so I can debug it as a normal JAVA program under DEGUB-View.
    Who has such experience and help me? I havd built Jetty under Eclipse, but Tomcat is much more complex.

    Help

  • How to deploy and debug Central Office 13.0.1 Application in Oracle AS

    Hi,
    Can anybody please explain me how to deploy and debug Central Office 13.0.1 / 13.1.1 Application in Oracle Application Server via Ecllipse IDE.
    Please explain this:
    1. Run the Oracle Application Server in debug mode from Ecllipse IDE.
    2. Deploy the Central Office 13.0.1 into Application Server from Ecllipse IDE and able to debug the code.
    3. Restart the Oracle Application Server in debug mode from Ecllipse IDE.
    Thanks
    SRR

    I got the solution

  • Deployment and debugging from JBuilder

    Hi,
    i build a JATO application that deployed as a war file and run
    perfectly on an external Tomcat.
    But running this app on the integrated Tomcat of the JBuilder tool
    results in the following error :
    Application Error - javax.servlet.ServletException: Invalid reqest -
    request handler "Login" not found
    On that way, debugging the application is not possible.
    Any idea what's wrong ?
    I've heard there is a deployment tool document ? Where is it ?
    thanks for your help

    Hi--
    None of our team has experience running JATO apps in JBuilder. The main
    thing to check when running in an IDE is that the web.xml is properly
    registered. Because you've received a JATO error, I assume it is in your
    case. Therefore, it must be something else.
    The error you sent means that the lookup for the LoginViewBean class failed.
    This is probably a silly question, but are all of your classes compiled and
    under the /WEB-INF/classes directory? Any other reason your application
    classes might not be found?
    Todd
    Todd Fast
    Senior Engineer
    Sun Microsystems, Inc.
    todd.fast@s...
    ----- Original Message -----
    From: <donnetmonay@y...>
    Sent: Tuesday, November 20, 2001 1:26 AM
    Subject: [iPlanet-JATO] deployment and debugging from JBuilder
    Hi,
    i build a JATO application that deployed as a war file and run
    perfectly on an external Tomcat.
    But running this app on the integrated Tomcat of the JBuilder tool
    results in the following error :
    Application Error - javax.servlet.ServletException: Invalid reqest -
    request handler "Login" not found
    On that way, debugging the application is not possible.
    Any idea what's wrong ?
    I've heard there is a deployment tool document ? Where is it ?
    thanks for your help
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

  • Searching for a string in an excel file and return true if found.

    How can I search for a string in an excel file and return true if found, its location and also a value.

    The problem with searching an excel file is that it contains a header. It would be easiest if you just read the file into a LabVIEW array and search the array. This way you can also get the index and the value of the location.

  • H:inputText and immediate="true" not updating cached backing bean value

    Hi,
    I am having a problem with h:inputText and immediate="true" when
    returning back to the same page.I looked through the forums but the
    only solution to remove the page from the session works only if I
    don't have to change any button label names in the page I am going back
    to.Unfortunately, I have to change a button name when I go back to the
    same page.The button name change works if i don't remove the page from
    session but then h:inputtext has stale values in it from the backing
    bean.I also need to avoid validation as it is a huge form.
    I have tried looking through the JSF forums but they didn't have any
    answers for a very similar question.
    I am not sure how exactly to use component binding for the input text and update the model values using an actionListener.I have tried puting a binding on an input text field and then used an actionListener instead of immediate="true' in the h:commandLink.But, putting context.renderResponse() in the actionListener method results in the model values not getting updated.
    I have also tried using component.processUpdates(facesContext) as in the UpdateModelValuePhase class -that too doesn't work.
    Thanks for any help,
    Vijay
    Details:
    The <h:inputText ..> does not populate the values back from a backing
    bean when immediate="true" is used when an action is called.
    <h:commandLink id="selectPrincipalId"
    action="#{application.selectPrincipal}" immediate="true">
    Only <h:inputText has the cached values from the first entry.
    <h:inputText id="principalLastName1Id"
    value="#{application.currentPrincipal.lastName}" size="10"/><== this
    has the cached value from the backing bean application.
    <h:outputText gets the new values from the backing bean when the same
    page is reentered.
    <h:outputText value="#{application.currentPrincipal.lastName}"></h:outputText><==
    this refreshes with the new value from the backing bean application.
    Here is the solution to rectify the problem:
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExternalContext externalContext = facesContext.getExternalContext();
    Map sessionMap = externalContext.getSessionMap();
    sessionMap.remove("/jsp/befg/tc/apply/enterCreditApplication.jsp");
    <== this is the name of the jsf page as defined in the
    faces-config.xml.

    Hi,I have encountered the same problem as you,and I find a solution myself,which is shown as follows,but I don't know if these is any hidden trouble in the code.
    <h:form>
    <h:commandLink action="#{app.action}" immediate="true" actionListener="#{app.update}">xxxx</h:commandLink>
    <h:inputText id="_id" value="#{app.val}" immediate="true"/> //must set immediate="true" else the model will be not updated
    <h:message for="_id"/>
    </h:form>
    public class App{
    public void update(ActionEvent event){
         FacesContext c = FacesContext.getCurrentInstance();
         UIViewRoot root =c.getViewRoot();
         root.processUpdates(c);//to update model and short-circuit the validators
    in such circumstance,the UIViewRoot's processUpdates method will be called in the actionlistener,and the back bean who titled to immediate(true)'s inputText will be updated, but the one who titled to immdiate(false)'s inputText will not be updated,Why?
    Can anyone tell me way?and how to solve?
    Thanks a lot!

  • InputText and secret="true": do not display stars

    Hi,
    I use ADF ea15.
    I have two af:inputText. One is secret, the other not.
    I use component binding for both (CoreInputText objects) because I need to disable these fields on some conditions.
    When I select an entry in a SelectOneListbox on the same page (with immediate="true" and autoSubmit="true"), the value change listener that is called sets the value of both input text (values are not empty) using coreInputText.setSubmittedValue().
    The value for the non secret field is updated in the page but the value of the secret input is BLANK. I would have thought that there would have been stars like ******** in the secret input. Is it a normal behaviour or did I make something wrong ? Note that the only difference between both fields is the secret="true".
    Thanks for your response.
    Patrick

    In Firefox 3.6 the Java plugin is treated just like all other plugins and no longer has a enable check box in Tools > Options > Content.
    You can enable or disable all plugins including [[Java]] via Tools > Add-ons > Plugins
    See also http://kb.mozillazine.org/Java

  • Submit button in Web Dynpro Native and ActiveX tab

    We use LiveCycle Designer 7.1 in a SAP environment (CRM5.0/NW2004S 7.0.06). We are creating an online Interactive Form via Web Dynpro for Java using NW2004S.
    In NW2004 you have to possibility to select the 'Submit to SAP' button from the Web Dynpro tab. However, in NW2004S this has been changed into 2 submit buttons, one on Web Dynpro Native and one on Web Dynpro ActiveX tab. Does somebody know what the differences are compared to NW2004? When to choose what button and what kind of code you need to enter to send the data the SAP?
    kind regards
    Angelique Heutinck

    Sarang,
    Lets go step-by-step.
    1. Create two views in your applications lets say the names are View1 and View2.
    2. Goto Diagram View of the Window in under Windows node in your Web Dynpro Explorer in NWDS.
    3. Create Inbound and Outbound plugs for View1 namely inbView1 and outView1
    4. Repeat the same for View2. So names will be inbView2 and outView2.
    5. Create a navigational link between the Vies by creating a link from outView1 plug to inView2 plug.
    6. Goto Layout tab for the View1. This is where you have embedded the Interactive form element.
    7. Set the displayType property to native.
    8. Under Events there will be onSubmit method, craete a new method called navigateToView2 and click Go. This will take you where you can implement your logic.
    9. Fire the outbound plug of View1. See following code snippet:-
    public void onActiong navigateToView2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiongotoView2(ServerEvent)
        wdThis.wdFirePlugOutView1();
        //@@end
    10. Edit the Interactive form, it should open Adove LiveCycle Designer.
    11. Drag-drop Submit button from WD Native library ontot the form.
    11. Don't modify anything and check if you see below code snippet in the Editor.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051114114126.253659.250577 - SubmitToSAP.xfo
                          ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                          // END OF DO NOT MODIFY
    12. Now whenever you click submit button on the form, what it does is that it makes call to WD framework and the onSubmit action handler is called where you have written the code to navigate to View2.
    Chintan

  • How to deploy and debug java web service in eclipes or using any other soft

    Hai,
    can any one tell me how to deploy and debug java web service in eclipes or using any other software.
    i have used tomcat web server and jdk1.4.0 to develop web service.
    we have used web service to interact with MS outlook .
    bye
    sudhakar.m

    Hi Sudhakar,
    If you are used to working with ant then you can very well use eclipse to deploy your web service.
    You would usually have the ant script in the source root working directory. From eclipse if you select the build file from the navigator view and right click you will see a run ant option in the pop up menu.
    Select that option and you would be able to see each targets with a checkbox select option. So define each target maybe one for wsdl2java conversion, one for compilation and one for deploying your web services. You can either make all of them run by having depends option on or you can run them individually as it takes your fancy.
    I am not sure about debugging a web service yet.
    Hope this helps
    Aviroop
    The truth is out there? Does anyone know the URL?

  • Interrupt process and Debug loop

    Hi,
    What is the difference between Interrupt process and Debug Loop in the process chain if both are used to delay the a process
    Thanks
    krish

    hi,
    Interrupt is a process type which is used in the process chains to trigger the chain after completion of specific steps in another process chains or to pass the process chain up to specified certain time is reached based on the requirement.
    Debug loop can be used to debug a process chain,you will have to specify here the gap between one event been triggered and the next subsequent process also you have to Enter a wait time
    regards
    laksh

  • Error opening test scripts in Build and Debug with Screens

    Hello,
    I am testing scenarios in the Build and Debug with screens mode in OPM. I save each scenario as a test script by clicking the Export button and saving. Some test scripts are able to be opened again, yet when I try to open others, I get the error message shown at the link below and am unable to load the test script.
    http://imgur.com/uqh80
    This did not happen previously, it just started today. All of these test scripts were created today, and the attributes have not been changes since the test scripts were created. This is seriously hindering my scenario testing ability.
    Does anyone know how to rectify this problem?
    Thanks,
    Christine

    Hi Kristy,
    I am in OPM 10.2.
    To troubleshoot, I tried redoing the test scenarios that werent working from scratch (rather than building off a previous scenario), and this time it worked. I am not sure why it works now and didnt before, and I am also not sure if they will continue working.
    I will continue creating the scenarios and will be sure to update if it fails again. In the case it does fail, I will try your export recommendation.
    Christine

Maybe you are looking for

  • Running 2 vi's parallelly

    Hi All, I am a new user to Test Stand. I have to call LabVIEW files through Test Stand Application. I have to call a VI, which has a start button. To this start button I am passing TRUE value which will invoke another VI. Now I have to pass values to

  • Too much time consuming : webservices

    I am typically working on issue with webservice thats making XI to take too long : after careful analysis of SXMB_MONI[performance header ] and RWB [ adapter and Integration Engine log ] here is where i am : As per performance header most of the time

  • How to get managers from org unit?

    Hi Experts, Anyone knows how to get managers information from given org unit? Thanks

  • Windows will not load while a USB is plugged into P67A-GD53 (B3)

    There are a couple issues here but that is the main one that I'm dealing with. I just built a new rig a few days ago and for some reason Windows 7 Ultimate 64bit will freeze at the Windows logo if I have any external devices (USB, speaker jack, etc.)

  • Adobe Forms --Amount field Problem

    Hello All, I have one clarification.I have one field called amount.Its value is taken as 0.00 from the table. I have to make it as blank.I have made it as blank to that field in display pattern properties by setting as * in adobe designer. This is su