Is it possible to get the stack trace of procedure invocations in pld file?

For example, if I have a package AAA in a pld file which has three procedure proc1, proc2, and proc3 defined. proc 3 will be invoked somewhere in proc2. proc2 will be invoked somewhere in proc1.
Is it possible to print such stack trace in proc1? It will be very helpful if it is possible.

See this post if you can figure out something out of it ....
http://forum.java.sun.com/thread.jsp?forum=31&thread=391451

Similar Messages

  • How to get the entire trace with dbms_utility.format_error_backtrace

    Hi,
    I made 35 procedures where test35 is
    calling test34 and test34 is calling test33 etc.
    division-by-zero is in test1 and format_error_backtrace shows the trace up to test31.
    Just curious, is it possible to get the entire trace?
    Thanks
    An example
    SQL> BEGIN
      2  EXECUTE IMMEDIATE 'create or replace procedure test1 as a number; begin a:=1/0; end;';
      3  FOR i IN 2..35 LOOP
      4   execute immediate 'create or replace procedure test'||i||' as begin test'||(i-1)||'; end;';
      5  END LOOP;
      6  END;
      7  /
    PL/SQL procedure successfully completed.
    SQL> BEGIN
      2    test35;
      3  EXCEPTION WHEN OTHERS THEN
      4   dbms_output.put_line(dbms_utility.format_error_backtrace);
      5  END;
      6  /
    ORA-06512: at "ANTS.TEST1", line 1
    ORA-06512: at "ANTS.TEST2", line 1
    ORA-06512: at "ANTS.TEST30", line 1
    ORA-06512: at        
    "ANTS.TEST31", line 1
    ORA-06512: at line 2                                   

    Out of interest, do you get any further back if each error message is shorter (e.g. a shorter procedure name)? From a quick test, SQLERRM is limited to 510 characters (doubtless documented somewhere though I can't find it just now) - the documentation says FORMAT_ERROR_BACKTRACE is not subject to the same size limitation, but that doesn't mean there is no size limitation.

  • Getting a stack trace after a crash using a command ant build

    I am trying to do some maintenance on a large project (about 300 files) that cannot be built using an IDE like eclipse or netBeans (the build instructions are in a build.xml file and is built using ant) and after installing the MacOSX 10.5.7 update yesterday the application crashes every time one of my SwingUI elements come up. I don't know of any way for me to get the stack trace so I can try and figure out what's going on. I did test the application on a non intel based mac and it does not crash when the dialogs come up so I think the bug is specific to the update. Can anyone tell me an easy way to get this stack trace? Thanks.

    ender2012 wrote:
    I am trying to do some maintenance on a large project (about 300 files)That's not particularly large.
    that cannot be built using an IDE like eclipse or netBeans (the build instructions are in a build.xml file and is built using ant) I know that Intellij can build using an ant file, so I'd expect that Eclipse and NB can do the same.
    and after installing the MacOSX 10.5.7 update yesterday the application crashes every time one of my SwingUI elements come up. I don't know of any way for me to get the stack trace so I can try and figure out what's going on.Regardless of whether you build in the IDE or on the command line, you should be able to attach a debugger to the app and set a breakpoint on any exception. Even if you don't do that, when it crashes, there should be a stack trace. Unless the problem is in the JVM itself--improper .so file, for example.

  • How can i get the stack of one thread from another thread

    hi !
    i have a pool threads ,some times all therads in that pool are besy becouse somting lock the threads so there is no free thread to handle ... .
    what i want is a way to get the stack of these thread so i can print them to see way they lock ...
    thanks,
    zvika

    Maybe something like this (haven't actually tried it):
    Add a method to your Threads to print the trace:
    public class MyThread extends Thread {
        public void run() {
        public void printCurrentStack() {
            (new Exception()).printStackTrace(); // or whatever method you choose
    MyThread mt = new MyThread();
    mt.start();
    mt.printCurrentStack();

  • Want to print the stack trace from the code

    looking for a way to print the stack trace from the CVI code.
    Thanks!

    First I would share the movie. If I was making a DVD, I would use SHARE/To Media Browser in LARGE size.
    Then I would use a free application called MPEG Streamclip,
    Get MPEG Streamclip, which is free. (google MPEG Streamclip from Squared 5)
    Open MPEG Streamclip.
    In the Finder, go to Movies/iMovie Projects, and right click on your project. Then, right-click/Show Package Contents. Navigate to the Movies folder in the package and find the LARGE movie. (Note: you are in the bowels of the Media Browser)
    Drag this movie into MPEG Streamclip. (It will not actually move anywhere. This tells MPEG Streamclip how to find it.)
    In MPEG Streamclip, move the playhead to the frame you want.
    In MPEG Streamclip, click FILE/EXPORT FRAME.
    Choose JPEG, TIFF, or PNG and give it a name.
    You can then drag this photo into iPhoto, iDVD, or wherever you need it.
    (Assuming you already know this) In iDVD, you can find the Media Browser at the lower right of the Window. Navigate to your project and drag it into iDVD.

  • I've recently been given a macbook pro from uni, with lots of adobe software on. I want to pair it with my iMac which has music etc and is it possible to get the software to the imac and the files to the macbook?Giving me the best of both :-)

    I've recently been given a macbook pro from uni, with lots of adobe software on. I want to pair it with my iMac which has music etc and is it possible to get the software to the imac and the files to the macbook?Giving me the best of both :-)

    You would need the original installation disks or files for the Adobe software to get it onto your iMac, and having it on two computers may not be allowed by your university's licensing. Talk to whoever issued the MacBook.
    As to the music, just copy it over to the MacBook, either via Home Sharing, file sharing, or an external storage medium (hard drive, USB flash drive, etc.).
    Regards.

  • Is it possible to get the style, font and related info of a paragraph of a in design file and write it on the same in design file  on the  left side

    Is it possible to get the style, font and related info of a paragraph text  of a in design file and write  all the stuff on the same in design file  on the  left side with small fonts 
    as
    Lets  this is a text in in design file    :
    style : abc                      we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultur we are going to check the  condition  Agence Wallonne pour la    font 12                                  d'une Agricultu we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultu
    style : xyz                      we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultur we are going to check the  condition  Agence Wallonne pour la    font 10                                  d'une Agricultu we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultu

    Hi Poojith
    Not sure if this would solve your requirment but just in case might be helpful:
    1. We can mix up the HTML and HTMLB components in the JSP Page. However, can access only the HTMLB components in the controller. The following link refers to what customizations are offered by the HTMLB framework:
    [http://www.sapdesignguild.org/resources/htmlb_guidance/]
    2. Another option would be to use AbstractPortalComponents or a simple web app if that's feasible. (where custom UI themes, css and layout are more in control of the developers.)
    Thanks
    Deepak

  • HT1222 Is it possible to get the SSL fix without having to install ios7 (which I tried and hated) or jailbreaking the devices?

    I have a few ipads, iphones and ipod touches of various models, and all run iOS6 of various types (whatever they were running when I last updated them before iOS 7 came along and stopped me being able to get newer versions of 6).
    I tried iOS7 for a while but hated both the appearance and some of the things that changed.
    My ipods have updated to a new version of iOS6 with the SSL fix.
    I can't seem to get this option for the ipads or iphones.
    Is it possible to get the important SSL update for iOS 6 for iPhone5, iPad3, ipad4 and ipad mini (not retina) without having to go to iOS7?
    (It seems that I can get a fix by jailbreaking but I really don't want to do that if there's another option since I have no need for it otherwise.)
    Thanks a lot.

    Thanks, that's helpful. I expected that answer, since I read a load of stuff about Apple pushing people to get iOS 7 despite it having people who disliked it, but was hopeful it was not the case
    Some of the changes, like to calendar were just frustrating.
    Not a big problem though - just means that the next phone and tablet hardware update I get won't be apple.
    Thanks a lot for the swift and helpful replies.

  • Is it possible to get the information from the complete forms send to different email account

    When i have a paid account is it than possible to get the information from the different forms send to seperate emailaddresses.
    Who dont have a account from formscentral but just need the information directly in there own inboxes?
    Because we're looking for a good and simple way to make qoustion & complain forms. But these need to go to different people in the company.

    You can have notifications sent to multiple email addresses, but each will need to have a FormsCentral account.  They can be free accounts.  What you do is create your form and set up the email addresses that you want the information to go to to be Co-authors or Contributors.  The co-author/contributor accounts will then need to log into FormsCentral, go to the Options tab and check the email notifications checkbox. 
    I hope this helps.
    -Jeff

  • Is it possible to get the image from the i pad when mirroring via Apple TV to fill the screen instead of appearing as a screen within a screen?

    When mirroring, is it possible to get the image from the ipad to fill the screen on the TV instead of appearing as a screen within a screen?

    Welcome to the Apple Community.
    No, the iPad has an aspect ratio of 4:3, a TV has an aspect ratio of 16:9, to fit one into the other is impossible without distorting the picture. If your TV has a zoom feature, you may be able to use this to fill the screen a little more to your liking, but this will result in cropping top and bottom.

  • Is it possible to get the position of a charcter from a string ?

    Hi !
    Is it possible to get the position of a charcter from a string ?
    Example:
    @VAR contains the following text "ABCDEFGHIJKLM"
    I'am seaching for FGH, it start on pos. 6 en ends on pos 8.
    How can I get these numbers 6 and 8 ?
    So, I can use them in the MID(text,start,len) function.
    Thanks!

    Hi Sooraj,
    I'll explain more in detail:
    From a web-service I get a variable called @Spec.
    This variable contains the following:
    "MOTORTYPE[CR]D-QW1234[LF]PART[CR]1234-FRD-X[LF]"
    or
    "MOTORTYPE[CR]ABC[LF]PART[CR]E-435[LF]"
    I need the values behind MOTORTYPE[CR] and behind PART[CR]
    But you’ll see that the positions of these values are different each time.
    If there is a way to get the (start) position of "MOTORTYPE[CR]" or "PART[CR]" and the (end) position of the first "[LF]" behind that,
    then I could use the MID() function to get the correct values.
    The values will be displayed in a table view (between other fields).
    An ABAP-call/function won’t work . . . how should I invoke this within a table column/field object ? (system action ?)

  • Is it possible to get the balance sheet report by using profit center

    Dear Experts,
    could you please help me out regarding the following issue.
    business area wise we can get the balance sheet but i want to know is there any possibility to get the BS by using profit centers only for BS Items or can we assign biasness area as well as profit center in a single screen.

    I think you can use this report. S_ALR_87013336
    Regards
    Radha

  • N unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    some one can help me please
    i have no idea what i must to do.
    an unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    The Exception Handler gave all the info that you need. No need to print the whole stack trace.
    The exception handler says
    Exception Details: java.lang.IllegalArgumentException
    TABLE1.NAME
    Look in the session bean (assuming that is where your underlying rowset is). Look in the _init() method for statements similar to the following:
    personRowSet.setCommand("SELECT * FROM TRAVEL.PERSON");
    personRowSet.setTableName("PERSON");
    What do you have?

  • Data recovery, possible to get the file structure back as well?

    Hi Apple Smarties,
    I closed my laptop lid on my external LaCie drive without ejecting the drive first (smart one!). After that the external drive wouldn't mount. I've used Data Rescue 3 to recover all the files from the drive... however it's just lumping all the files into one big batch :-( ...anybody know if it's possible to get the files into the correct files structure they were at before the drive got corrupted?
    Assistance would be HUGELY appreciated.
    Many thanks
    Kind regards
    Doug

    Thank you Barry. Yes, Comcast is my mail provider. It is a POP account.
    Now, if you could point me in the right direction to do that re-build, I would be ever so grateful. I did use the "rebuild" button on the Mail tool bar for that box and it did not help. Perhaps there is something else I could do?
    As I mentioned, I am very new to the Mac world, and I get a little lost. Well, at age 73, I guess that's not hard to do! Been on Windows forever so lots of the terminology in Apple is quite different for me.
    Message was edited by: JanJones

  • Is it possible to get the total value for column and assign to other field

    hi,
    Is it possible to get the total value of particular column and assign that value to another field?
    How to do this?
    Thanks in advance,
    SAN

    Afridi,
    My extended controller class code:
    package xxhr.oracle.apps.per.selfservice.appraisals.webui;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
    import oracle.apps.per.selfservice.appraisals.webui.OverviewPageCO;
    import oracle.jbo.Row;
    public class XXOverviewPageCO extends OverviewPageCO {
    public XXOverviewPageCO() {
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    if(pageContext.getParameter("XXCalcAvgButton")!=null){
    throw new OAException("welcome",OAException.INFORMATION);
    //getSum(pageContext, webBean);
    private String getSum(OAPageContext pageContext, OAWebBean webBean) {
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject ratvo = (OAViewObject)am.findViewObject("CompetenceElementsVO");
    OAViewObject valuevo = (OAViewObject)am.findViewObject("PerRatingLevelsVO");
    Integer Sum = new Integer("0");
    int numofRows = ratvo.getRowCount();
    for (int x = 0; x < numofRows; x++) {
    Object Rating =
    ratvo.getRowAtRangeIndex(x).getAttribute("ProficiencyLevelId");
    if(Rating!=null) {
    int numofRowsforvalue = valuevo.getRowCount();
    for(int i=0;i<numofRowsforvalue;i++){
    if(valuevo.getRowAtRangeIndex(i).getAttribute("RatingLevelId").equals(Rating)){
    Object StepValue=valuevo.getRowAtRangeIndex(i).getAttribute("StepValue");
    Sum = new Integer(StepValue.toString()) + Sum;
    OAMessageStyledTextBean displayCompAvg=(OAMessageStyledTextBean)webBean.findChildRecursive("XXCompAvgText");
    displayCompAvg.setValue(pageContext,Sum);
    return null;
    But it is not affecting in the page.
    Can you please tell me what is the problem.

Maybe you are looking for

  • What does this error report mean?

    My MacBookPro just crashed. I'd like to figure out why and if I need to worry. Please help. Here is a copy of the error report: Interval Since Last Panic Report:  1555381 sec Panics Since Last Report:          1 Anonymous UUID:                    707

  • Problems upgrading to iTunes V10 due to "insufficient services" message

    Need help. Am ready to take my iTouch back to the store. Keep getting error messages when installation program is doing its thing. Have turned off Norton 360 but problem still exists. Can anyone help me?

  • Macbook pro fell down e

    Guys , I was driving in large subarbun , my mbp 2.4Ghz was completely shut down fully , and the bag laptop was in , fell of the seat to the floor during the sudden break . I turned on laptop and can't find anything wrong however to be 100% sure shall

  • Skydrive and skydrive pro now same email and not working

    Hi, I have tried posting this on a few of the forums and keep getting sent somewhere else.  Can anyone here help me? For the last couple of weeks we have been setting up our new Office 365 during this time we have been using skydrive and skydrive pro

  • Setting tab width in JTabbedPane....

    hi all, I want to set the tab width to a constant value for all tabs in tabbed pane. How can i do this? Actually i have a tabbed pane where it has different length of strring to display in each tab. To make it uniform i want to set a constant width t