Problem Switching the Debugger in NWDS

Hi all,
I am trying to debug a Java Class in NWDS. I put a break point and went to debug perspective and I am accessing the application in run time, but still
I donu2019t find the Java Debugger switched on and I cant find the values being passed to the variables. Can some one suggest me if I am missing some thing?
Regards,
Jessica Sam

Hi Jessica,
It seems that you have not configure Debuger in NWDS.
1. Click on or Open Debug perspective
2. Open Debug configuration from menu or from clicking on Icon in top level menu.
3. From Left side expand Remote Java Application
4. Click on New Button from bottom left Corner.
5. Give Any name e.g. My Debug.
6. You have 3 tab on right side Connect, Source and Common
7. Click on Connect
8. Click on Browse from project to debug.
9. Select crmhomeshr
10. Connection Type should be Standard (Socket Attache)
11. Give Host name and Port. Generally port # is 50021 but it may different on your machine.
12. Click on Source Tab
13. Click on Use Default source lookup path
14. Click on Common tab.
15. Type of launch configuration should be local
16. Debug Mode should be Default
17. Select Debug in Display in favorites Menu.
18. Click on Close.
Before start your ISA application on debug mode you have to click on "Debug" icon from top menubar and select your created My Debug configuration. It will establish connection with your J2EE engine and switch to debug mode.
Now access your applicationi n browser. When it hits debug command it automatically switch or transfer control to NWDS Debug window and you can go forward from there.
I hope this information will help you to configure Debug in NWDS for ISA.
eCommerce Developer

Similar Messages

  • Problems with the examples in NWDS

    Hi All,
    Running the Welcome example project in NWDS i  have the included error.
    I have problems with other examples too.
    I did all the step by step tutorials.
    I have NWDS 2.0.3
             J2EE 6.40 SP15
             EP 2004
    I am new in NWDS and i have not still successed to run any application.
    What is wrong with my systems?
    I did all the configurations start J2EE /sdm etc.
    Do i have to install other versions? I read that maybe i have to install the same SP 15.
    Please if anybody can help me .
    Thanks,
    Ari 
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.services.sal.deployment.api.WDClassLoaderException: Classloader of 'local/Welcome' is null, even though application is started.
    at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObject.getClassLoader(DeployableObject.java:81)
    at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:588)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
    at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
    ... 18 more
    Ari

    Thank you for your help,
    I have NWDS 2.0.3 and Web AS 6.40 SP15 and EP 04.
    How can i be sure if  are compatible? Maybe i have to install NWDS SP15?
    I did "Rebuild" and then  "Deploy new archive and run" Deploying i was asking for the sdm password  , then the application opened in a new browser and we can see this message below.
    The Deploy Output View is empty. There is no eny successful deploy message.
    I appreciate your help.
    Thanks,
    Ari
    500   Internal Server Error
      Web Dynpro Container/SAP J2EE Engine/6.40 
    Failed to process request. Please contact your system administrator.
    [Details...]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.InstantiationError: com.sap.tc.webdynpro.progmodel.context.NodeInfo
        at com.sap.examples.welcome.wdp.InternalWelcomeComponent.<init>(InternalWelcomeComponent.java:41)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        ... 27 more
    See full exception chain for details.
    Correction Hints
    The currently executed application, or one of the components it depends on, has been compiled against class file versions that are different from the ones that are available at runtime.
    If the exception message indicates, that the modified class is part of the Web Dynpro Runtime (package com.sap.tc.webdynpro.*) then the running Web Dynpro Runtime is of a version that is not compatible with the Web Dynpro Designtime (Developer Studio or Component Build Server) which has been used to build + compile the application.
    Note: the above hints are only a guess. They are automatically derived from the exception that occurred and therefore can't be guaranteed to address the original problem in all cases.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
    Version 
    DOM version 
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, Build ID: 6.4015.00.0000.20051123162612.0000 (release=630_VAL_REL, buildtime=2005-12-14:21:51:22[UTC], changelist=377533, host=PWDFM026)
    J2EE Engine No information available
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_07-b05, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Other
    Session Locale en_US
    Time of Failure Fri Jan 26 14:29:31 EET 2007 (Java Time: 1169814571353)
    Web Dynpro Code Generation Infos
    local/Welcome
    No information available
    sap.com/tcwddispwda
    No information available
    sap.com/tcwdcorecomp
    No information available
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.examples.welcome.WelcomeComponent. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:38)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:776)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:330)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:370)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:608)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
         ... 26 more
    Caused by: java.lang.InstantiationError: com.sap.tc.webdynpro.progmodel.context.NodeInfo
         at com.sap.examples.welcome.wdp.InternalWelcomeComponent.<init>(InternalWelcomeComponent.java:41)
         ... 31 more

  • Problem activate the activity in NWDS

    Hi,
    when i am trying to activate an activity in NWDS and  i have got the error msg:
    javac] Compiling 84 source files to /usr/sap/SMT/DVEBMGS01/j2ee/cluster/server0/temp/CBS/37/.B/2105/t/1238F068412A57C9CB6DCB1CF7C68E64/classes
         [javac] ERROR: /usr/sap/SMT/DVEBMGS01/j2ee/cluster/server0/temp/CBS/37/.B/2105/DCs/tmobile.at/PBTOOL_APPL/_comp/src/packages/tmobile/appl/sec/PermissionsPBT.java:9: package com.sap.security.api.permissions does not exist
         [javac] ERROR: import com.sap.security.api.permissions.NamePermission;
         [javac] ERROR:                                         ^
         [javac] ERROR: /usr/sap/SMT/DVEBMGS01/j2ee/cluster/server0/temp/CBS/37/.B/2105/DCs/tmobile.at/PBTOOL_APPL/_comp/src/packages/tmobile/appl/sec/PermissionsPBT.java:17: cannot resolve symbol
         [javac] ERROR: symbol  : class NamePermission
    since than i am not able to activate any new activities.
    can some one please help me?
    Thank you
    regrads
    Milen

    Hi Jessica,
    It seems that you have not configure Debuger in NWDS.
    1. Click on or Open Debug perspective
    2. Open Debug configuration from menu or from clicking on Icon in top level menu.
    3. From Left side expand Remote Java Application
    4. Click on New Button from bottom left Corner.
    5. Give Any name e.g. My Debug.
    6. You have 3 tab on right side Connect, Source and Common
    7. Click on Connect
    8. Click on Browse from project to debug.
    9. Select crmhomeshr
    10. Connection Type should be Standard (Socket Attache)
    11. Give Host name and Port. Generally port # is 50021 but it may different on your machine.
    12. Click on Source Tab
    13. Click on Use Default source lookup path
    14. Click on Common tab.
    15. Type of launch configuration should be local
    16. Debug Mode should be Default
    17. Select Debug in Display in favorites Menu.
    18. Click on Close.
    Before start your ISA application on debug mode you have to click on "Debug" icon from top menubar and select your created My Debug configuration. It will establish connection with your J2EE engine and switch to debug mode.
    Now access your applicationi n browser. When it hits debug command it automatically switch or transfer control to NWDS Debug window and you can go forward from there.
    I hope this information will help you to configure Debug in NWDS for ISA.
    eCommerce Developer

  • Problems switching the iPod off

    I got the 20 GB iPod color last week and now I am having problems with it, I am having to hold the Play and Pause button longer than before in order to switch it off, does anyone know how I can fix this problem?

    Greetings Matthew,
    Welcome to the discussions.
    Try first to do a reset by holding the center button and the Menu button at the same time for about five seconds. Your iPod should reset. You will not lose any music or settings.
    I can't tell you why it happens, but I have noticed that my 60GB does the same after I have pressed play and pause a number of times throughout the day.
    Hope this helps.
    Sean

  • I got an ipod touch from a friend and am having a problem switching the apple id to mine for updates and new apps. What do I do?

    I have set up an id, however everytime I click to update apps it comes up with my friends old id. How do I change this so I can update my apps?

    Apps will always be tied to the account from which they were purchased, and will always have to be updated using that account.
    It sounds like the apps were purchased by your friend.  You will need to buy your own apps.

  • The debugger is the problem

    Hello !
    I have a script that is called by the event manager on every events (the 'All' case) and i would like it can run without interference.
    But it seems that the Alt key launches the debugger when a script is running, despite a lot of standard commands use the Alt key: for instance to take a color (Alt) or even to go backwards in the history (Alt-ctrl-z).
    My problem is : the debugger window appears as soon as the alt key is pressed, and the script is halted. It is not the best behavior inside a client environment !!!!!
    My question is : how to turn off the display of the debugger in every cases, especially when the Alt key is pressed.
    My photoshop version is CS4.
    Thank you for your answers!

    1) Upgrade to CS5. Adobe removed this (useful) feature instead of adding a preference to enable/disable it.
    2) Rename or remove your ESTK executable.

  • Hello! My iMac frozed and I had to switch the electricty supply off and on in order to start again the system, with the problem that the screen looks wierd, I tried to calibrate it... doesnt works any suggestion?

    hello! My iMac frozed and I had to switch the electricty supply off and on in order to start again the system, with the problem that the screen looks wierd, I tried to calibrate it... doesnt works any suggestion?

    Dear Paul, thank you very much for your time and answer, I followed those steps, somehow it helped the performance of my Imac, is faster now, but the screen issue about the very High contrast colours is still there. Since I am a photographer I am very depending on the screen calibration. I am worried that I came to damage the video card when I shut down the computer from the swicth when It was frozed.

  • Has anyone else had a problem with the audio not keeping up with the video when switching to full screen on YouTube?

    Hi. I have a OS X Yosemite Version 10.10.1 Mac Book Air, Processor 1.86 GHz Intel Core 2 Duo.
    Has anyone else had a problem with the audio not keeping up with the video when switching to full screen on YouTube?
    The video starts out fine, but if I click on the expand icon in the lower right corner of the screen the audio won't keep up.
    Refreshing the page don't help at all. In fact, nothing seems to help once it starts.
    I did not have this problem at all using Mavericks. The problem started after installing Yosemite.
    Any way to fix it?

    only $99, i thought it was closer to $175.

  • Hi, I recently got myself an apple iphone 5s (factory unlocked) phone from the US. However on using the same in India with Vodafone, i am facing a problem where the connectivity keeps switching to EDGE most of the time. Any solutions??

    Hi,
    I recently got myself an apple iphone 5s (factory unlocked) phone from the US. However on using the same in India with Vodafone, i am facing a problem where the connectivity keeps switching to EDGE most of the time. I have a 3G plan but most of the time it switches automatically to EDGE. Thats when i have to either switch Airplane mode - On/Off and then it acts normal. Any permanant solutions to fix this problem?

    Return the iPhone personally or via friend/relative/co-worker who is in
    the US. The warranty is valid only in the country of original purchase - the USA
    in this case. Apple will not accept international shipments for evaluation nor
    will Apple ship out of the country after repair/replacement.
    How did the iPhone from the US get to you in India? Reverse that process to
    get it back to the US so someone can take it into Apple.

  • My iPhone 4 has lost SIM connection several times over the past week when the phone is left on continually. I have had the SIM checked and it was not the source of the problem. I have found that I can reactivate the SIM by switching the phone off and on.

    My iPhone 4 has lost SIM connection several times over the past week when the phone is left on continually. I have had the SIM checked and it was not the source of the problem. I have found that I can reactivate the SIM by switching the phone off and on again. Has anyone else experienced this problem and if so, is there an easy fix. I have been advised by Apple that the latest IOS update may overcome this situation but I'm only on slow download speeds and 690 Mb would take forever. I would appreciate any advice.
    Best regards,
    Rob.

    PinguXeF wrote:
    , while I have taken a backup of the iTunes Library,
    this means nothing if it was not done correctly...
    To have  EVERYTHING on a New Computer...
    From your OLD computer...
    Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
    Full Details Here  >  http://support.apple.com/kb/HT1751

  • Is there a fix yet for the no sound problem with lion on the iMac without having to restart every time I switch the computer on?

    Is there a fix yet for the no sound problem with lion on the iMac without having to restart every time I switch the computer on?

    Try booting in Safe Mode by holding the the shift key immediately after powering on your system. Safe boot mode will for a directory check of your startup volume, then load only the required kernal extensions (kext files), and deletes some cache files. Once the system boots into Safe Mode you can simply restart the system to see whether the issue has been resolved.
    If you still have the issue try resetting the SMC by shutting down the system and disconnecting the power cord for ~15 seconds, then reconnecting the power cord. Next, reset the parameter RAM (PRAM) by holding down the option-option-P-R keys after powering ON the system. Wait until the iMac restarts twice, then let the system boot normally.

  • I bought an iPhone 5 around fifteen days back and it has already started to give problem with the on/off button. I have to press it five six times to switch it on or off. I am so frustrated by the fact that if I bring it to the service centre, I am going

    I bought an iPhone 5 around fifteen days back and it has already started to give problem with the on/off button. I have to press it five six times to switch it on or off. I am so frustrated by the fact that if I bring it to the service centre, I am going to get a refurbished phone in place of my brand new phone which I just bought. The idea of a used phone repulses me. Any solutions ?

    sumeshdua wrote:
    The idea of a used phone repulses me.
    Why?  Your current phone is used... it has been since the instant it was removed from the shrink wrap and turned on.
    sumeshdua wrote:
    Any solutions ?
    Live with the phone as is.
    Take the device to Apple for evaluation... it may not need replacement.
    Even if it does, neither you or the Apple tech should be able to tell if the replacement is new or refurbished.

  • Anyone having problems with the on/off switch

    anyone having problems with the on/off switch. It sometimes does not work, I occasionally have to pull the plug out and replug then hit the button and it goes on?

    Out of the 100+ millions of iPhone, I'm sure there are many people that have that same problem.  If you do, you have a 1 year warranty... take it in before it runs out.

  • New out of box , unable to switch on is there a problem with the battery as i thopugh it should be  partly charged.

    new out of box , unable to switch on is there a problem with the battery as i thopugh it should be  partly charged.

    Plug it in for 15 minutes. If it doesn't come on hold the HOME button (the round one) and the SLEEP button (the one on the top) at the same time until an Apple logo appears (about 10 seconds). If nothing appears on the screen after 30 seconds you have a dead phone; take it back for exchange.

  • Interesting problems with the 1.2.2 Debugger and String.substring(int)

    Guys/Gals,
    Here's an interesting problem to ponder...
    I define the following values in my class:
    private String descriptorClassName = null;
    private String userObjectClassName = null;
    private String name = null;
    I run the following piece of code as part of the constructor:
    descriptorClassName = this.getClass().getName();
    userObjectClassName = descriptorClassName.substring(0, descriptorClassName.indexOf("Descriptor"));
    name = userObjectClassName.substring(userObjectClassName.lastIndexOf(".")+1);
    The first line assigns the value of "com.foo.user.UserDataDescriptor" to descriptorClassName.
    The second line assigns the value of "com.foo.user.UserData" to userObjectClassName.
    The third line assigns the value of "UserData" to name.
    As I step through the code, I see the first two values being set, and yet the third value for name is reported by the debugger as:
    "name = null".
    I added a call to log4j, which reports that that value of name has been correctly set!
    This seems to be a result of the String.substing(int) call, as the call to Sring(substring(int, int) is fine.
    Has anyone come accross this one before?
    Does anyone have any workarounds other than:
    name = userObjectClassName.substring(userObjectClassName.lastIndexOf(".")+1, userObjectClassName.length());
    Cheers all.
    Regards,
    Chris.

    I've been trying to reproduce this problem and it always works perfectly. The debugger tells me that name = "UserData". I'm using JDev 3.2.2 and my project is using JDK1.2.2_JDeveloper. Here's the exact source code I'm trying.
    package com.foo.user;
    public class UserDataDescriptor {
    private String descriptorClassName = null;
    private String userObjectClassName = null;
    private String name = null;
    public UserDataDescriptor() {
    descriptorClassName = this.getClass().getName();
    userObjectClassName = descriptorClassName.substring(0, descriptorClassName.indexOf("Descriptor"));
    name = userObjectClassName.substring(userObjectClassName.lastIndexOf(".")+1);
    System.out.println("end of constructor");
    public static void main(String[] args) {
    UserDataDescriptor userDataDescriptor = new UserDataDescriptor();
    null

Maybe you are looking for

  • Problem in creation of ABAP proxies

    Hi, I am trying to create proxies of Message Interfaces that are built from External Definitions(XSDs). In the scenario, we use two XSDs, one for structure of BAPI and one as Document Envelope containing header level information of the document. Mess

  • Goods Receipt 511 with message QM Only QA495

    Hi experts: I'm trying to do an 511 movement for a material, but appears the following message "Change the inspection stock of material 000000000000425217 in QM only". My material has inspection typ : 01 - Goods receipt inspection purchase order 05 -

  • Dose iCloud work on apple tv ?

    I would lake to know how can i use or if works ; iCloud with a apple tv with 3 generation (any apps for iCloud on apple tv)

  • Custom Infotype not displaying locked records in the list screen (3000)

    I have a custom infotype (9xxx) that will not display the locked records (locked indicator (sprps) is set to X) in the list screen (3000) in PA20 and PA30. Any ideas on what may be causing the records to not display in the list screen? Thanks, Ted

  • How can I import files into Lightroom 3 from Photoshop elements 8?

    I just installed Lightroom 3 and bypassed the option to import my pics from Photoshop elements 8 (to see what other options were available). Lightroom advanced a page and there seems to be no way to return to the previous page, I've closed the page &