Issue in debugging

Hi All,
I am facing an issue in debugging a BSP application.
I placed an external break point in oncreate, oninitialization and oninputprocessing event but its not taking me to the break point.
I have even tried with having some BREAK-POINT hard coded , but it doesn't help.
I have tried with placing an external break point in layout and activated the HTTP debugging in SICF, even after that it doesn't work.
I have not set default user name password for the application in SICF and also my user id in the external debugging option of Utilities->ABAP editor -> debugging is same as the one which i am giving while executing the page.
But I am not able to debug the application.
But when I tried debugging some other BSP applications, I am able to do that.
your inputs will be very helpful.
Thanks in advance.

Hi Jyothi,
Login userid and Debugger user id should be the same. If not debugging will not call.
1) Have you given any user credintials while testing.
2) Have you checked the debug user : utilities-> settings-> debugging-> check the user.
Regards,
Eswar.

Similar Messages

  • Performance Issues with Debugging even in Display Mode

    Hi not certain if this would sit in Security, ABAP or Basis, but lets start here as it is security related.
    S_DEVELOP with any activity on DEBUG on a production system is a concern, but what are the performance related issues when a super user has to go into debug in display only on a production system because of a really complex issue?
    I've heard in the past of a scenario where system performance was impacted, and we have notes around the allocation of S_DEVELOP display DEBUG access to this point. (I've summarised these below)
    The risk with debug is associated with the length of time that the actual debugging process is being performed.
    u2022     Work processes are dedicated solely to the users for the duration of the debug. If these are being performed for a long time, these can cause issues with not enough work processes being available.
    u2022     It can cause DB2 locks. If the debug session last awhile, DB2 locks are not released. This impacts the availability of tablespaces, thus, affecting various transactions running across the system.
    Even with these concerns, security will often get asked for debug display access.
    As security is about risk identification, assessment and then controlled access what do other organisations do?
    Options (not exhaustive) are "No Debug ever" or "Debug display only via a fire fight or super user on a time limited basis".
    We are currently in the "debug display only via fire fight" camp, but would like to canvas opinion on this.
    As one of the concepts of security is Availability of data (and to an extent ensuring the systems are up and running) do the performance risks push the security function to the "No Debug Ever" stance.

    If you need to debug in production, then 9 times out of 10 you need to do root-cause analysis: The developer is the problem.
    Writing sloppy code and not testing properly should not be an excuse for debugging in production.
    But of course, there are exceptions even when you do try to keep them to a minimum.
    To add to Jurjen's comments, also note that the debugger only has a limited capability of doing a rollback. So you can quite easily and unintentionally create inconsistencies in the system - also in display mode - which is an integrity problem, and typically more critical than availability problems or even potential confidentiality concerns.
    Cheers,
    Julius
    Edited by: Julius Bussche on May 15, 2009 10:50 AM

  • Evaluation of ${server_url} variable in filename - known issues? debugging?

    We're using an XML document in the server for properties, such as endpoint assignment:
    <assign name="asn_fromXmlFile">
    <copy>
    <from expression='ora:doc("${server_url}/xmllib/myProcConfig.xml","/airline")'/>
    <to partnerLink="TravelService"/>
    </copy>
    Sometimes when the SOA server is restarted, this does not evaluate the filename "${server_url}/xmllib/myProcConfig.xml" correctly. We get a FOTY error, similar to what we see if we give a bogus filename. The real version of the above code works when the server is up and you send messages. It only fails on certain servers, and only when a
    previously queued message is dequeued at startup.
    Has anyone seen cases where the server_url variable does not evaluate correctly?
    Is there a way to print the value of ${server_url} to the BPEL console audit trail (e.g. an expression to assign it to a string)? Which collaxa class/property do I need to set for DEBUG logging to see anything about this in the domain log?
    Thanks,
    Andy

    I'm happy to report that a good deal of the API App issues in this list will be repaired in the next update of the Web Tools Extensions for VS2013. 

  • Performance Issue  of Debugging in Live System

    Hi All,
    Does anybody know or has document whether or not debugging in live sytem causes much performance problem? I know debugging spends more system resource than normal running but our basis consultant traces it and forbids debugging in live system. Because he thinks debugging spends so much system resource.
    Best Regards
    FIRAT KAYIRAN
    MM&BW Consultant

    Hi,
    Debugging in the production system should in normal circumstances be forbidden but not for performance reasons. The major threat of debugging is that potentially data can be changed and/or security checks can be bypassed if the authority to change values inside a debugging sessio is granted to the developer.
    The performance overhead of debugging is normally not an issue: as you often interrupt the program flow by stopping at breakpoints, the total runtime becomes irrelevant. Debugging can make sense to investigate the performance of a single statement or a small block of code, but the ABAP runtime analysis (SE30) is a better tool for this.
    Regards,
    Mark

  • MSI Z77 MPower - Boot issues (A2 debug code and more)

    Hey guys,
    I've been trying to get my new computer build working but I have encountered several issues when trying to boot the computer.
    Before putting everything inside my case, I tested the motherboard + CPU + 1 stick of ram to make sure everything was working. I had issues in the past where I had to remove everything once I had things mounted.
    Everything seemed to work and I got into the BIOS and looked like everything was good.
    I mounted it in the case with the same configuration and I was able to get into the BIOS again. So I thought everything must be ok.
    Fast forward a couple hours later after I finish plugging everything in, I try to turn it on but it just gets into this boot loop.
    Turn on > Fans spin for a couple seconds > turns off > repeat. This just kept going on and on and I wasn't exactly sure what was going on.
    I started to unplug components and when I only had the Mobo + CPU + 2 sticks of ram in I was able to get into the BIOS.
    I plugged things in one at a time and when I plugged in my SSD it would work.. but when I added another drive I would start getting the A2 Debug message on my board.
    I would continually get this A2 debug message and I am not sure what to do to get it to work.
    I have updated my BIOS to the latest ones and it is still not working.
    Could this be an issue with my PSU? I really hope it's not the MOBO..
    My System:
    i7 3770k
    CoolerMaster 212 Evo
    MSI M77 MPower
    16GB DDR3 Ram
    7870PCS+ Tahiti LE
    Corsair HX650 PSU

    Quote
    I've tested it with one stick and 2 SSDs and it doesn't give me the A2 debug code.
    Do you have any different ram to test with?
    What ram exactly are you using?
    You may perhaps be able to set the ram timings in bios to JEDEC standard 9-9-9-24 1600 perhaps

  • HELP: Issue on debugging

    Hi all,
    I have a flex app that loads a module.
    And I am trying to debug the code on the module but the breakpoints that I set were being ignored (I made sure I don't have "Skip the Breakpoints" checked).
    And when it stop on an error on one of the functions, I couldn't go into the source code by double-clicking the function call on the debug window.
    I notice that it displays the function like this on the window:
    com.Yadayada.Module.module1:Module1Controller/setInfo [no source]
    What would be causing this to be [no source]? I did verify it's in the correct source Lookup path.
    Please enlighten me.
    Thx!

    Hi Alex,
    I build it through Flex builder.
    Well, I finally did make it to work but I did in a very odd way:
    On the main app, I have to make a property declaration to any of the type that's available in the module.
    But I think the reason why I have to to do this is due to the way I setup the project.
    My project is being setup to allow me to be able to test module in an independently before integrating it to my production project.
    Thx for the reply Alex!

  • Issue with debugging in scripts

    I developed the form in 055 client and testing in 051 client.
    In my script i have commented text element 511 for line items descriptions and transported it to 051 client through solution manager.
    I am testing in 051 client while debugging 511 text element descriptions are coming actually i commented in 055 client for 511 text element . I checked script in 051 client and 511 text element is commented but in the form while debugging values are coming from  511 text element and in the output  the descriptions are coming .
    please guide me the exact reason behind it.

    Hi,
    First copy the script from source client to destination client using transaction code SCC1.
    -->Execute SCC1 in destination client
    >Provide transport request of script in development client
    >Select check box including Sub tasks
    > Then execute the SCC1 and then press Enter
    >Then at status bar right end you can find transported successfully.
    then you can start to Test the script by actuivating debugger.

  • Issue with debugging Flash Pro CS6

    I have a project I am working on that was created in CS5.5 targeting iOS. The SWF has a lot of content, but no code and the .AS file has all the code except for a few utility functions. I just updated to CS6 and now debugging no longer works as expected. When I run the app in Debug - whether using the mobile or desktop Air debugger environments, it fails to recognize the .AS file as having executable code in it. In CS5.5, when I did this, the AS file would open and I could set and clear breakpoints. Now, if I go to the file and try to toggle a breakpoint, it shows "No exectuable code..." no matter where I set the breakpoint. The app is running fine, but it acts like there is no link between the source file and the app.
    The app builds and runs fine - I just can't debug it. Help!
    I am sure this is some stupid little thing I haven't done, but since I changed nothing between CS5.5 and CS6, I have no idea where to look.
    Scott

    You might get better results if you post in the Flash General forum.  Sometimes when new versions are presenting problems some Adobe folks will visit there to see if they can help....
    http://forums.adobe.com/community/flash/flash_general?view=discussions

  • AP - Controller connectivity issue

    Hi,
    I am trying to connect a bunch of APs (1131) to a 4404 controller. The problem I have is that the APs, everytime I connect them to the local- to the controller- network they keep on rebooting. I have hardcoded the IP address of the APs, as well as the default-gateway and the controller address. I can also ping it fine (by IP and by the default DNS entry)
    AP address: 172.27.32.222
    Controller address: 172.27.32.250
    What I really dont understand is this:
    *Mar 1 00:04:33.688: %LWAPP-5-CHANGED: LWAPP changed state to JOIN
    *Mar 1 00:04:33.688: UDP: sent src=172.27.42.222(34005), dst=0.12.207.71(12223), length=1534
    What is this 0.12.207.71 address? Where did it get picked up from? (The 12223 port seems right!)
    My s/w version on the switch is 3.2.150.6
    The o/p below is from between the reloads on the AP...
    Any ideas please...
    Theo
    ----------- cut here -------
    *Mar 1 00:04:19.679: UDP: sent src=172.27.42.222(34005), dst=172.27.32.250(12223), length=69
    *Mar 1 00:04:20.975: UDP: rcvd src=172.27.42.14(137), dst=172.27.42.255(137), length=58
    *Mar 1 00:04:21.725: UDP: rcvd src=172.27.42.14(137), dst=172.27.42.255(137), length=58
    *Mar 1 00:04:21.975: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up
    *Mar 1 00:04:23.679: UDP: rcvd src=172.27.32.250(12223), dst=172.27.42.222(34005), length=59
    *Mar 1 00:04:28.383: UDP: rcvd src=172.27.42.167(137), dst=172.27.42.255(137), length=58
    *Mar 1 00:04:29.134: UDP: rcvd src=172.27.42.167(137), dst=172.27.42.255(137), length=58
    *Mar 1 00:04:29.491: UDP: rcvd src=192.168.106.1(3434), dst=255.255.255.255(8611), length=24
    *Mar 1 00:04:29.491: UDP: rcvd src=192.168.106.1(3434), dst=255.255.255.255(8611), length=24
    *Mar 1 00:04:29.492: UDP: rcvd src=172.27.42.25(3435), dst=255.255.255.255(8611), length=24
    *Mar 1 00:04:29.492: UDP: rcvd src=172.27.42.25(3435), dst=255.255.255.255(8611), length=24
    *Mar 1 00:04:29.492: UDP: rcvd src=192.168.184.1(3436), dst=255.255.255.255(8611), length=24
    *Mar 1 00:04:29.492: UDP: rcvd src=192.168.184.1(3436), dst=255.255.255.255(8611), length=24
    *Mar 1 00:04:29.886: UDP: rcvd src=172.27.42.167(137), dst=172.27.42.255(137), length=58
    *Mar 1 00:04:33.511: UDP: rcvd src=172.27.42.70(138), dst=172.27.42.255(138), length=209
    *Mar 1 00:04:33.688: %LWAPP-5-CHANGED: LWAPP changed state to JOIN
    *Mar 1 00:04:33.688: UDP: sent src=172.27.42.222(34005), dst=0.12.207.71(12223), length=1534
    *Mar 1 00:04:35.175: UDP: rcvd src=172.27.42.167(137), dst=172.27.42.255(137), length=58
    *Mar 1 00:04:35.926: UDP: rcvd src=172.27.42.167(137), dst=172.27.42.255(137), length=58
    *Mar 1 00:04:36.461: UDP: rcvd src=0.0.0.0(68), dst=255.255.255.255(67), length=330
    *Mar 1 00:04:36.677: UDP: rcvd src=172.27.42.167(137), dst=172.27.42.255(137), length=58
    *Mar 1 00:04:38.535: UDP: rcvd src=172.27.42.35(138), dst=172.27.42.255(138), length=209
    *Mar 1 00:04:38.688: LWAPP_CLIENT_ERROR_DEBUG: spamHandleJoinTimer: Did not recieve the Join response
    *Mar 1 00:04:38.688: LWAPP_CLIENT_ERROR_DEBUG: No more AP manager IP addresses remain.
    *Mar 1 00:04:38.722: %SYS-5-RELOAD: Reload requested by LWAPP CLIENT. Reload Reason: DID NOT GET JOIN RESPONSE.
    *Mar 1 00:04:38.722: %LWAPP-5-CHANGED: LWAPP changed state to DOWNXmodem file system is available.
    flashfs[0]: 3 files, 2 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 15998976
    flashfs[0]: Bytes used: 1870336
    flashfs[0]: Bytes available: 14128640
    flashfs[0]: flashfs fsck took 26 seconds.
    Base ethernet MAC Address: 00:1b:53:c8:4d:5a
    Initializing ethernet port 0...
    Reset ethernet port 0...
    Reset done!
    ethernet link up, 100 mbps, full-duplex
    Ethernet port 0 initialized: link is up
    Loading "flash:/c1130-rcvk9w8-mx/c1130-rcvk9w8-mx"...####[...]##
    ----------- cut here -------

    issue command debug lwapp events enable and check what exactlty happens

  • Invoice updating issue  - development case

    Hi All,
    We are into extended classic scenario and we create invoices from SRM side.
    At the header level of the line item we will be able to see a field FI posting date.
    Requirement is once the invoice is approved we need to
    change the FI posting date to current date.
    This needs to be done to prevent invoice from erroring out due to being posted in closed period.
    Can this be achieved from BAdi : BBP_DOC_CHANGE_BADI or bbp_determine_driver?(as per note 1020736)
      I face the following issue in debugging mode when using docchange badi method BBP_IV_CHANGE
    observed here that in IS_header:field itm_type is not getting updated and
              also the approval_ind once the invoice is approved
    Please help!!Kindly provide suggestions to achieve this change.
    Regards,
    Supriya

    Hi Vikas,
    We went ahead with the badi implementation.We were able to change the posting date to current date.
    But we follow one step approval workflow for invoices.So the workflow considers - change in a field as change in document and triggers the workflow again.
    we are working on supressing this extraneous workflow.
    Let me know if you need further details. Do you have any suggestions?
    Thanks
    Supriya

  • Error-Unable to start debugging.

    Visual Studio 2013 showing an error while trying to Run.
    ' Unable to start debugging.
    0x80040154
    How to solve this issue?
    Thanks,
    Arjun

    Hi Arjun,
    Based on the error message, it is hard for us to find the real reason for this issue directly.
    Could you get any other error messages if you build your project? Please check the detailed error or warning messages in Error list window or the output window.
    The reason why I suggest you run it with "start without debugging" is that if it still has certain issues without debugging, it means that it is not the debugging issue.
    Maybe you could view the Event log to get more information.
    Could you share us the detailed steps about how you debug your project?
    >> Unable to start debugging.0x80040154
    A report about the simliar error message:
    https://connect.microsoft.com/VisualStudio/feedback/details/786897/update-2-unable-to-debug-0x80040154
    I got the issue with the error "Unable to Start Debugging on the Web Server" before.
    Reference:
    https://msdn.microsoft.com/en-us/library/vstudio/dwesw3ee(v=vs.120).aspx
    https://technet.microsoft.com/zh-cn/subscriptions/dwesw3ee(v=vs.71).aspx
    If still no help, maybe you could share us a simple sample, so we could debug it in our side.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Another jsp debug question

    I now of the technique to use a script (javac -g $*) as the
              weblogic.jsp.compileCommand context-param name in a web application but
              this does not appear to be working on WL 5.1 sp6 on linux
              The following error message occures when WL attempts to compile a JSP
              Wed Dec 13 19:07:19 GMT+00:00 2000:<E> <WebAppServletContext-consumer>
              Compilation of
              /home/jamie/2020me/workspace/R0.5/src/web/consumer/WEB-INF/_tmp_war/consumer/_login/_consumer_login.java
              failed:
              Warning: UNIXProcess.forkAndExec native error: Exec format error
              java.io.IOException: Compiler failed
              executable.exec([Ljava.lang.String;[javac_debug.cmd, -classpath, <<my
              classpath here>>,  -d,
              /home/jamie/2020me/workspace/R0.5/src/web/consumer/WEB-INF/_tmp_war,
              /home/jamie/2020me/workspace/R0.5/src/web/consumer/WEB-INF/_tmp_war/consumer/_login/_consumer_login.java])
              at java.io.IOException.<init>(IOException.java:49)
              at
              weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
              at
              weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
              at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:300)
              at
              weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
              at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
              where <<my classpath here>> has been replaced here for clarity and
              javac_debug.cmd is the debug script (javac -g $*)
              The script is definetly in the path since I get a "not found" exception
              if I remove it
              Any insight would be greatly appreciated
              Thanks
              Jamie
              

    Thanks Ganesh,
    One of the link you provided had resolved my issue with debugging.  All I did is remove the below two entries from portalapp.xml file
    <property name="ComponentType" value="jspnative"/>
    <property name="JSP" value="pagelet/InitialPage.jsp"/>
    These 2 entries are created by default for JSPDynPage components by the wizard in NWDS SP9.  I don't know if this is same in later releases.
    I can debug now.
    Thanks
    Siva

  • Windows Kernel Debbuging: Debug over virtual serial port with WDK 8.1

    I'm currently having some issues doing kernel debugging of a Windows 7 x64 target from my Windows 8.1 x64 host machine. I'm running Visual Studio 2013 with WDK 8.1 on my host and have provisioned my target machine running in VMWare.
    Here are my configurations for the target machine. It was configured by reading mostly from here - http://www.codeproject.com/Tips/545835/Kernel-Mode-Debugging-in-a-VM-using-Visual-Studio :
        Windows 7 x64
        Serial port COM2 with VMWare with name \\.\pipe\com2. All proper options in VMWare are checked
        Debug flag for OS enabled through msconfig. Debug port is COM2 running at 115200 baud.
        I ran the test target client "WDK Test Target Setup x64-x64_en-us.exe" on the machine before provisioning the computer
    I was able to provision the computer properly -- it created the WDK Remove User account. However, I'm running into some issues actually debugging. Below are the steps
        Launch the Windows 7 x64 target image in VMWare and wait on the boot menu
        In Visual Studio (host machine), go to Debug -> Attach to process -> Select my computer -> Select process "Kernel" -> Attach
        In VMWare, press enter to boot Windows
        It takes a while, but on my host machine, Visual Studio eventually connects. I can choose to "Break All" and actually use the debugger.
    However, I can't seem to connect to the debugger if I don't do it before booting the kernel. And I can only attach once. For example, I can't let Windows initialize to the desktop and then build my driver and begin debugging. The debugger will always hang on
    "Waiting to reconnect...". The same goes for if I begin debugging on kernel initialization, decide to stop debugging, then try to reconnect or reattach; it will hang on "Waiting to reconnect..." indefinitely as well.

    Follow the directions here: https://msdn.microsoft.com/en-us/library/windows/hardware/jj200334%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    You are using user mode debug setup menus, that won't work.
    Mark Roddy Windows Driver and OS consultant www.hollistech.com

  • Debug IP error help

    Gurus,
    Using Ciscoview to monitor our 3750 switch, I noticed high IP error counts. After connecting to the box and issuing the "debug ip error" command the following output was displayed:
    "datagramsize=92, IP 27444: s=192.168.1.100(Vlan1), d=192.168.1.255, totlen 78, fragment 0, fo 0, dispose udp.noport"
    The destination IP is the broadcast address of our subnet; Cisco documentation says that "the router received a UDP packet when no application was listening to the UDP port."
    I'm trying to figure out why so much udp traffic is destined towards the broadcast address, and what is causing the IP errors.
    Thanks for your help!
    Kevin

    UDP broadcasts are a normal solution to initiate connections between clients and servers. This should not nescessarily be an error but it could be a misbehaving application or something like a virus trying to spread.
    Your search should focus on the source of the datagrams:s=192.168.1.100(Vlan1) If you are getting these packets from many different hosts, try to figure out which apps they have in common.
    In that way, you should be able to find out wether it is caused by an application or a virus.
    Regards,
    Leo

  • Xdebug 2.1.3-2 and netbeans issue

    After upgrading to 2.1.3-2 I encountered issues with debugging php code in netbeans 7.2 (netbeans kept loosing socket). Downgrading back to 2.1.2-1 saved the day.
    I am curious if I am just alone and if anybody found the way how to fix it eventually.

    Well, I decided to post my problem in more than one forum and got a response that may be what you are looking for. I haven't tried it yet and I'm not sure I understand it correctly, but I thought it may help you since it deals with printJob and supposedly works:
    Other person wrote the following:
    I have worked on printing but through Print Job.
    i Print Multiple pages in landscsape.
    in the printer Job you can print the static information
    like if you implemented BOOk for mutiple pages it will only print the last information of your print function.
    i found many problems when i was trying to implemnet printer Job
    here is the complete code how can you print through print Job u can extends this to implement for multiple pages just use array of graphics.
    Graphics Arrpage[];
    Arrpage=new Graphics[count_pages];
    PageAttributes pa=new PageAttributes();
    pa.setOrientationRequested(PageAttributes.OrientationRequestedType.LANDSCAPE);
    this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
    Toolkit toolkit = this.getToolkit();
    PrintJob job = toolkit.getPrintJob(new Frame(), user,null,pa);
    if (job == null) return;
    for(int j=0;j<count_pages;j++)
    Arrpage[j] = job.getGraphics();
    // Check the size of the scribble component and of the page.
    Dimension size = this.getSize();
    Dimension pagesize = job.getPageDimension();
    // Center the output on the page. Otherwise it would be
    // be scrunched up in the upper-left corner of the page.
    Arrpage[j].translate((pagesize.width - size.width)/2, (pagesize.height - size.height)/2);
    Arrpage[j].setColor(Color.white);
    Arrpage[j].fillRect(0,0,pagesize.width,pagesize.height);
    Arrpage[j].setClip(0, 0, size.width, size.height);
    Arrpage[j].dispose(); // End the page--send it to the printer.
    //System.out.println("Disposing "+j+" page");
    }// end of for loop
    //System.out.println("before ending the job");
    job.end(); // End the print job.
    Hope this will help u.

Maybe you are looking for