Trace a call

Hi everybody,
I would know if it's possible, like smalltalk, to get the instance of a method's caller.
for example, in Smalltalk, we can write:
needHelp: args
"Treatment"
self doAnotherthing. "self is the caller of the method"
Thanks for your replies

Thread.currentThread().getStackTrace()
look into that
edit: scratch that. won't give you a reference to the caller at all :-)
the real answer is "no", unless the caller passes "this" into the method, which isn't particularly probable or nice
Message was edited by:
georgemc

Similar Messages

  • EU_IMPORT5:   DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1017

    Hi,
    The upgrade is on phase EU_IMPORT5 and it seems to run for a long time. But am afraid it this is really true. When I look in the file: E000006.DPR I find the following:
    DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1017
    DbSl Trace: CONNECT failed with sql error '1017'
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (SQL) INFO: SSEXC.SQL not found
    (DB) INFO: DOKHL~ created #20081003122232
    (IMP) INFO: import of DOKHL~ completed (2185665 rows) #20081003125935
    (DB) INFO: DOKHL^0 created #20081003125948
    (DB) INFO: DOKIL~ created #20081003125949
    Is this means that it  stoped?
    Thanks in advance
    HanseAtik

    Hi,
    Check in SAPup.log if you're not requested to do an action .
    You'll probably see
    >Continue ?
    >Exit ?
    If yes, just stop SAPup and restart, you'll be asked again.
    Hope that was helpfull.

  • Getting error with DbSl Trace: OCI-call 'olog' failed: rc = 1017

    Hi,
    We are working on osdbmigration, exporting from oracle to SQL Server.
    When we run ./R3SETUP -f DBEXPORT.R3S getting the below error:
    INFO 2011-06-10 05:17:46 R3SZCHK_IND_ORA R3ldctlDo:0
        DbSl Trace: OCI-call 'olog' failed: rc = 1017
        DbSl Trace: CONNECT failed with sql error 1017
    We have performed allthe pre-checks successfully and can able to connect system/manager at SQL.
    Regards,
    Karthik.

    Have you followed the Note 400241 - Problems with ops$ or sapr3 connect to Oracle

  • Packet Trace or Call Flow for IP Softphone

    I have been searching around for a while not finding any packet trace or call flow document on the IP softphone. Is there anything like this available ?
    Regards,
    Mat

    For Tracing the calls on IP softphone you can refer the following document. This document has the following section
    Tracing the Cisco IP SoftPhone GUI Application - which explains how to setup
    http://www.cisco.com/univercd/cc/td/doc/product/voice/c_ipphon/english/softphon/admin/ad_trbl.htm#1037447

  • How to trace JCE calls

    Hi,
    I wonder if it's possible to somehow trace JCE calls - i.e. each time the application executes some crypto API, see in some log what algorithm was executed (e.g. DES or SHA-1) and what provider did the crypto work (e.g. PKCS#11)?
    Regards,
    Alex

    Thanks for the response. We are using Oracle on Unix, not Windows. I tried the SQL*Net trace like mentioned, but the output volume is overwhelming, and I cannot even see the SQL that I want. Not sure what I am doing wrong.
    I have since tried to get access to the udump directory on the Oracle server machine, and privileges to alter my session to set sql_trace=true. This seems to work for SQL*Plus sessions, but I am not sure how to set sql_trace=true for the session being used by the OCI client. Is there a way of setting sql_trace=true for the OCI client's session only, without actually changing the code of the OCI client? Say, through environment variables or configuration file?

  • How to trace packages called from frontend UI

    Hi All,
    Is there any way where we can trace the packages that are being called from the Frontend screens like UI screens written in Java.
    Appreciate your help.
    Thanks,
    MK.

    v$session contains PLSQL_ENTRY_OBJECT_ID and PLSQL_ENTRY_SUBPROGRAM_ID that you can join to dba_objects to find the package and procedure initially called, and likewise PLSQL_OBJECT_ID and PLSQL_SUBPROGRAM_ID for the curently executing procedure.
    Also the MODULE, ACTION and CLIENT_INFO attributes will of course have been set by the Java application, right?

  • Trace Prank Calls

    Yesterday I received close to 40 prank calls from a few different numbers. Although I'vd added them to the incoming call block feature - would like to find out who these kids are and if there parents know what they're doing. 
    I've filed a police report with the local police, but they can't help me trace the numbers. It's the same kids using different voip phones. Please need someone's help from Verizon to track these people as polite words haven't worked.
    I did *57 after a few of the phone calls, but the calls were coming till 1 am and the only way to stop them is prosecute them. Please help.

    Hi sanj82,
    Just a friendly reminder, this is a forum where users help other users.
    It looks like your issue may require a Verizon representative to review your account details. Please contact our customer service team via email or live chat at:
    http://www.verizon.com/contactus
    Choose “Live Chat.”
    If a chat agent is available to assist you, the chat link will become live after the page is fully loaded.
    Regards,
    AnnieS

  • Trace This: Call Manager RTMT

    Cisco Forum:
    By any chance, might you know what the RTMT trace files reasons are for the below?  I'm chasing a called Directory Number for which the IP Phone does not ring and the call goes directly to Unity Connection voicemail.  The end user says the phone is not forwarded, etc.  It just does not ring then they get the MWI of a new message.
    The RTMT trace shows the call seemingly pointed to the DN but immediately forwarding to voicemail.  Between the two occurrences are the line items below.  I've yet to produce a Google search that defines what "2" (or another other digits) might be regarding the reason for the call redirection.
    Thank you for your comments.
    Dan
    lastRedirectingReason=2
    originalCdpnRedirectReason=2                                                                                

    Hi Dan,
    Here are the Reason Codes for Busy, CFNA & CFWDALL. It looks like the user was on the phone
    when a call came in and went directly to voicemail. I just tested these out and captured them as I went
    along. Sometimes the MWI can be slightly delayed so this is a pretty common question from users.
    "Hey...I was sitting here at my desk and my RED message lamp went on....
    I missed the call and my phone didn't ring at all"
    This used to happed to us on our old Octel as well
    Call to a Busy DN - CFB
    09:24:34, New Call, CalledId=5126,  RedirectingId=5126,  Origin=16,  Reason=2,  CallGuid=A8D82689ADB947708076173B9675D535,  CallerName=Rob Huffman,  LastRedirectingId=5126,  LastRedirectingReason=2,  PortDisplayName=CallManager-1-005,[Origin=Invalid],[Reason=Invalid]
    09:24:35, AttemptForward
    09:24:35, State - AttemptForward.cde!Dummy
    09:24:35, Event is [NULL]
    09:24:35, PHTransfer
    09:24:35, State - PHTransfer.cde!LoadInfo
    09:24:35, Event is [PCTREnabled]
    09:24:35, State - PHTransfer.cde!RunRoutingRules
    09:24:35, Event is [NULL]
    09:24:35, ConvRoutingRule
    09:24:35, State - ConvRoutingRule.cde!ConvRoutingRules_LoadInfo
    09:24:35, Event is [TrueEvent]
    09:24:35, PHGreeting
    09:24:35, State - PHGreeting.cde!PlayGreeting
    09:24:35, Call answered if needed
    09:24:35, Playing greeting for Subscriber:  bob
    09:24:40, No DTMF received
    09:24:40, Playing greeting for Subscriber:  bob
    09:24:40, Event is [RecordMsgEvent]
    09:24:40, State - PHGreeting.cde!RecordMsg
    09:24:49, Event is [NULL]
    09:24:49, State - PHGreeting.cde!RunEditMsg
    09:24:49, -->MessageEditing
    09:24:49,         State - MessageEditing.cde!CheckMsgMenuOpt
    09:24:49,         Event is [EditMessageMenuEvent]
    09:24:49,         State - MessageEditing.cde!PlayEditMenu
    09:24:49,         Event is [HangupEvent]
    09:24:49,         State - MessageEditing.cde!CheckMsgLength
    09:24:49,         Event is [ManyEvent]
    09:24:49,         State - MessageEditing.cde!SendMsg
    09:24:49,         Event is [TrueEvent]
    09:24:49,         State - MessageEditing.cde!ConfirmSend
    09:24:49,         Event is [HangupEvent]
    09:24:49, <--MessageEditing
    09:24:49, Event is [HangupEvent]
    09:24:49, Idle
    This is a Forward No Answer - CFNA
    09:26:40, New Call, CalledId=5126,  RedirectingId=5126,  Origin=16,  Reason=4,  CallGuid=F65164E144E047FFB75F6343A68D6D3D,  CallerName=Rob Huffman,  LastRedirectingId=5126,  LastRedirectingReason=4,  PortDisplayName=CallManager-1-004,[Origin=Invalid],[Reason=Invalid]
    09:26:40, AttemptForward
    09:26:40, State - AttemptForward.cde!Dummy
    09:26:40, Event is [NULL]
    09:26:40, PHTransfer
    09:26:40, State - PHTransfer.cde!LoadInfo
    09:26:40, Event is [PCTREnabled]
    09:26:40, State - PHTransfer.cde!RunRoutingRules
    09:26:40, Event is [NULL]
    09:26:40, ConvRoutingRule
    09:26:40, State - ConvRoutingRule.cde!ConvRoutingRules_LoadInfo
    09:26:40, Event is [TrueEvent]
    09:26:40, PHGreeting
    09:26:40, State - PHGreeting.cde!PlayGreeting
    09:26:40, Call answered if needed
    09:26:40, Playing greeting for Subscriber:  bob
    09:26:45, No DTMF received
    09:26:45, Playing greeting for Subscriber:  bob
    09:26:45, Event is [RecordMsgEvent]
    09:26:45, State - PHGreeting.cde!RecordMsg
    09:26:55, Event is [NULL]
    09:26:55, State - PHGreeting.cde!RunEditMsg
    09:26:55, -->MessageEditing
    09:26:55,         State - MessageEditing.cde!CheckMsgMenuOpt
    09:26:55,         Event is [EditMessageMenuEvent]
    09:26:55,         State - MessageEditing.cde!PlayEditMenu
    09:26:55,         Event is [HangupEvent]
    09:26:55,         State - MessageEditing.cde!CheckMsgLength
    09:26:55,         Event is [ManyEvent]
    09:26:55,         State - MessageEditing.cde!SendMsg
    09:26:55,         Event is [TrueEvent]
    09:26:55,         State - MessageEditing.cde!ConfirmSend
    09:26:55,         Event is [HangupEvent]
    09:26:55, <--MessageEditing
    09:26:55, Event is [HangupEvent]
    09:26:55, Idle
    Call Forward All to VM - CFWDALL
    09:29:49, New Call, CalledId=5126,  RedirectingId=5126,  Origin=16,  Reason=8,  CallGuid=3691A86D05BA4A08A3FFD009E416DFA4,  CallerName=Rob Huffman,  LastRedirectingId=5126,  LastRedirectingReason=8,  PortDisplayName=CallManager-1-002,[Origin=Invalid],[Reason=Invalid]
    09:29:49, AttemptForward
    09:29:49, State - AttemptForward.cde!Dummy
    09:29:49, Event is [NULL]
    09:29:49, PHTransfer
    09:29:49, State - PHTransfer.cde!LoadInfo
    09:29:49, Event is [PCTREnabled]
    09:29:49, State - PHTransfer.cde!RunRoutingRules
    09:29:49, Event is [NULL]
    09:29:49, ConvRoutingRule
    09:29:49, State - ConvRoutingRule.cde!ConvRoutingRules_LoadInfo
    09:29:49, Event is [TrueEvent]
    09:29:49, PHGreeting
    09:29:49, State - PHGreeting.cde!PlayGreeting
    09:29:50, Call answered if needed
    09:29:50, Playing greeting for Subscriber:  bob
    09:29:54, No DTMF received
    09:29:55, Playing greeting for Subscriber:  bob
    09:29:55, Event is [RecordMsgEvent]
    09:29:55, State - PHGreeting.cde!RecordMsg
    09:30:06, Event is [NULL]
    09:30:06, State - PHGreeting.cde!RunEditMsg
    09:30:06, -->MessageEditing
    09:30:06,         State - MessageEditing.cde!CheckMsgMenuOpt
    09:30:06,         Event is [EditMessageMenuEvent]
    09:30:06,         State - MessageEditing.cde!PlayEditMenu
    09:30:06,         Event is [HangupEvent]
    09:30:06,         State - MessageEditing.cde!CheckMsgLength
    09:30:06,         Event is [ManyEvent]
    09:30:06,         State - MessageEditing.cde!SendMsg
    09:30:06,         Event is [TrueEvent]
    09:30:06,         State - MessageEditing.cde!ConfirmSend
    09:30:06,         Event is [HangupEvent]
    09:30:06, <--MessageEditing
    09:30:06, Event is [HangupEvent]
    09:30:06, Idle
    Cheers!
    Rob
    "Every fool's got a reason to feelin' sorry for himself" - Springsteen

  • How to trace call in CME

    Hi,
    How to trace a call that is going through a GW which is also running a CME..It that possible first, if so what is the command in the CME router ?
    Please help...
    Regards
    Allwyn Reuben

    Hi Allwyn,
    If you're troubleshooting basic call routing/dial-peer matching you will probably want to run a 'debug voip dial-peer'.  If you're looking for more detailed information including Q.850 disconnect cause codes 'debug voip ccapi inout' is a good one as well.  However, a lot of the debugs that you may be looking for will depend on what protocols and signaling types are running.  Ex. 'debug isdn q931' is great for T1 PRI's, etc.  Your exact call-flow is also required to define which debugs would be required to track calls going in and out of your system.
    HTH,
    Chris

  • CTI OS can't transfer call

    Hi i am facing an issue with ctios agent desktop. If agent try to blind transfer or consultative transfer or make a conference call system displays some resources error like "Resources are not available" while if we try to make all these scenarios through IP Phone it works perfect.
    ICM version : 8.0.1
    CTIOS ver: 8.0.1
    CUCM ver: 8.5.1.10000-26

    Hi folks,
    I am still facing this problem while transfering call from Agent to Script to Queue customer call with call variables. following are the logs i gathered first one is showing successful transfer while 2nd one appeared when the mention above error comes up.
    First One: Successful Transfer
    00:42:21:381 CTIOS1-ctios Trace: >>CG:[call.5000.33604262]:eCallBeginEvent(PrphID:5000 PrphTyp:17 NumCTIClnts:0 ConnCID:33604262 CallTyp:2 ConnDevIDTyp:1 NumNamVars:9 NumNamArrs:4 CalldPtyDisp:0 ANI:03439111032 DNIS:42158 Dialed#:81112 ConnDevID:03439111032 RCallKeyDay:150210 RCallKeyCID:410 MsgID:eCallBeginEvent DvrKey:call.5000.33604262 ecc:(...) ICMEntUniqID:icm.150210.410 RCallKeySeq#:5)
    Error: while transfering to Script
    01:10:57:387 CTIOS1-ctios Trace: [call.5000.33604410.42158]CCA::ProcessEvent(ENTRY) eCallBeginEvent(PrphID:5000 PrphTyp:17 ConnCID:33604410 CallTyp:2 SVC#:203 SVCID:5008 SGID:5014 SGPri:0 NumNamVars:9 NumNamArrs:4 ANI:0514577932 DNIS:42158 Dialed#:81112 CallrEntrDig:(null) RCallKeyDay:150210 RCallKeyCID:444 UniqObjID:call.5000.33604410 ecc:(...) RCallKeySeq#:5)
    I am using CUCM as RC for this transfer in order to send the call variables context with this call and it is working perfect but some time this issue comes up .
    ICM : 8.5.3
    CTIOS: 8.5.3
    CUCM: 8.5.x

  • Web service call - works locally but not on mobile?

    Hi,
    I have a web service call (the service is hosted on the cloud so it's an external, permamnent domain) which works fine when I'm testing it locally using the Flex Buritto built in emulator or directly using my browser.
    But when trying from an android phone (tried a few of them - nexus one, nexus s and galaxy tab) the service is being called but never returns anything.
    Is there a good way to trace to call / understand the problem?
    Thanks,
    Nir

    Oh. well that would explain alot of it. its not a stupid question we are all learning. You have to put a crossdomain xml in server on the root directory. there are alot of different ways to implement it.
    this should point you on the right direction.
    http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html
    here is a very basic format basically allowing anyone to call my service.
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy
      SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain="*" />
    </cross-domain-policy>
    miguel

  • How to set SQL trace in OCI session ?

    Hello,
    In a SQL*Plus session, I can use the SQL statement "alter session set sql_trace=true;" to set SQL trace in that session only. I assume I could execute the same SQL statement from C code in an OCI client and achieve the same goal.
    However, if I cannot change the code of this OCI client, is there a way to set SQL trace for that single session alone, without changing the C code? Say, through an environment variable, configuration file, etc.?
    Thanks.

    I am not aware of a way to selectively enable the server-side tracing without modifying the client code.
    There is client tracing available by setting the environment variable EVENT_10842 as follows:
    "server=<>;user=<>;stmt=<>;level=<>;interval=<>"
    e.g.
    setenv EVENT_10842 "server=inst1,inst2;user=scott,system;stmt=all;level=15"
    Where:
    "server" is a comma separated list or "all"
    "user" is a comma separated list or "all"
    "stmt" can be INSERT,UPDATE,DELETE,SELECT or "all"
    The following levels are supported:
    1 - Trace all server attach and server detach calls for servers listed in "server" attribute of the environment variable.
    2 - Trace all session begin, logon, session end, logoff calls for the users listed in "user" attribute of the environment variable.
    3 - Trace all prepare, execute, fetch calls for the specified statement types listed in "stmt" attribute of environment variable.
    4 - Trace all Bind, Define, Describe calls.
    5 - Trace all OCI LOB calls
    7 - Get statistical info on all connection pooling /connection related calls
    8 - Get statistical info on all session info
    9 - Get statistical info on all handle info
    10 - Get statistical info on time taken in execute and fetch calls
    11 - Get statistical info on transaction related calls
    15 - Trace all calls with statistical info.

  • CUP not updating OCS status when user ends call

    Hi All,
    I have an issue where, when a user places/receives a call their MOC status shows them as "on a call", 99% of the time when they end the call the MOC status changes back to what ever is was set to, i.e. Available.
    The 1% of the time is will stay "in a call".
    Now I have managed to trace a call from the CUP server and when the status updated correctly I can see a SIP message "ConnectionClearedEvent", however when the status does NOT change back there is no "ConnectionClearedEvent" in the SIPProxy trace file.
    So I am assuimg that some thing between CUCM and CUP is failing everynow and again.
    I am having a mental black and need to be pointed to the CUCM process that would pass the information to the CUP server.
    CUCM 6.1.5.10000-10
    CUP 7.0.3.10000-63
    Any other help would be appreciated too..
    Cheers
    Jason

    I would recommend you upgrade to CUPS 7.0.8 before troubleshooting.
    In each relase between 7.0.3 and 7.0.8 there are some OCS bugs fixed.  Not saying that upgrade would fix your problem.  But at least it would rule out the known defects.
    If there's no CSTA (INFO) message sent to OCS, the problem would be on CUPS side.  It could be the CUPS lost its connection with CTIManager thus not able to get CTI event updates.
    Michael
    http://htluo.blogspot.com

  • How to know a call is hitting our CallManager?

           How to know a call is hitting our CallManager?

    Hi,
    please provide topology and protocols.
    best way is to check debugs and traces using called and calling number.
    you need to follow few steps,
    check call is coming to your network first on end point like MGCP/H323 gateway or CUBE
    then check you have proper config to relay that to CUCM
    then check respective debugs on device for same
    see what message you get in debugs for call clearance
    hear what promt is played if call is not hitting the number as CUCM and Service provider has different promts.
    then check CUCM traces for that call
    Hope this helps.
    Please rate helpful.

  • Stack Overflow in External Interface call

    Hi - I'm trying to make a call to he javascript function present in my aspx viz external inerface. I have 3 such calls. One of the call is always erroring out with error
    Error: Error #1023: Stack overflow occurred.
        at flash.external::ExternalInterface$/_toJS()
        at flash.external::ExternalInterface$/_objectToJS()
        at flash.external::ExternalInterface$/_toJS()
        at flash.external::ExternalInterface$/_objectToJS()
    I checked the syntax and everything looks fine and similar to other calls but this one always fails. Can someone point me as to what could be going wrong? Pls treat this as urgent.

    I pass a object only. I dont know how to pass 5 diff params to a JS.this is how I do it. Instead of 2 here, the other call had 5 parms.
    var javascriptFunction:String = "function name";
                        var signinObject:Object = new Object();
                        signinObject.param1= <<param1>>;
                        signinObject.param2= <<param2>>;
                        if(ExternalInterface.available)
                            // call the javascript function!
                            trace("b4 calling JS .");
                            ExternalInterface.call(javascriptFunction, signinObject);

Maybe you are looking for

  • BlackBerry 10 OS Security & Usability Anywhere

    Previous BlackBerry platforms 4.0 - 7.1 required a BIS package to enable all functionality, now BlackBerry 10 uses data for the network provider to allow use of BBM and Applications. Now there are places where BIS was not there e.g. my home country Z

  • To Display Image in Alv Grid....

    Hello Gurus, I want to display an image/icon ( custom icon ) in the ALV grid. I know to display standard icons in ALV. But i dont know how to store custom icons in the system. I want to display an icon or image depending upon certain conditions. i ne

  • Update Java Application

    Hello I have a problem with updating a Java Application.Yesterday i have made a modification to a class from my application but today when i am running the application it still runs the old version.The JAR file doesn't update.What can i do? Thank you

  • Standby DB is available in standard edition ???

    Hi, i want to ask whether standby DB feature is available in oracle standard edition server ??? Thanks Steve null

  • Premiere & After Effects - Can I Make A Film?

    I have After Effects and Premiere CS3. Is it possible to create comps in After Effects in the 2K or 4K size and edit them in Premiere, to be output to film later? I have made plenty of cartoons with AE/Premiere that wound up on DVDs, but I have wonde