Debugging Netbeans J2SE application

I am trying to debug in Netbeans for the first time. When using F7 to step into my app it doesnt do much of anything besides open the debug window. Under Local Variables, the message:
"Variable information is not available, source compiled without -g option."
Does anyone have any idea of what may be the problem?
thanks

The source was compile without using the option that adds debugging information to the resulting .class file. Either:
- You're trying to debug some JRE library code, not your own. Just step over instead of into. Or,
- it's your code, recompile with the -g option.

Similar Messages

  • Error while configuring Debugging for WebDynpro Application

    Hi Experts,
    I am trying to configure Portal server for debugging a WebDynpro application.
    In NWDS , in Debug configuration
    When i tried to add my Webdynpro Project and application under Debug tab , No problem.
    But when i checked J2EE Engine tab : it showed the following error.
    <b>[J2EE Engine]: the selected server node does not run  in restricted load balancing mode, please configure it correctly so that the URL extention can be used</b>
    And ignoring it when i started debugging the application , the URL was formed like this :
    http://<host>:50000/@@@DEBUG@@@7672950/webdynpro/dispatcher
    /local/WDtest/WDtest?SAPtestId=1
    with the error :   The requested resource does not exist.
    Details: Go to main page of this application!
    Can anybody help me to fix the configuration.
    Regards,
    Ashish Shah

    Hi,
    To configure to the debugging mode... follow the steps:
    1. Select "SDM" from J2EE engine (To get this view navigate thru Window--> Show View --> J2EE Engine)
    2. Make a right click on "SDM" and choose "Enabling Debugging of Process"
    3. Now, Navigate to Run --> Debug --> Select your Project as "Webdynpro Application" and click "new" button
    4. Now give some name and Click BROWSE to select ur project and then click APPLY and DEBUG
    Or if u use 2004s, then u can do the settings in Portal itself...which gives u more clear information...  follow the link
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56">WebDynpro Java Debug Configurator</a>
    Hope it helps...
    Regards / Guru

  • Debugging abap webdynpro application

    hi gurus,
    an abap webdynpro application is runninf fine in developmernt server but not in production system. i transported the application again to refresh the application in production. but still the error persists. now i want to debug the abap editor in production system. so i wrote code 'BREAK POINT' in abap editor. but program is not stopping at this code. in dev as well as in prod system. please suggest.
    Moderator Message: There is a separate forum for Webdypro for ABAP. Please post your question there.
    Edited by: kishan P on Nov 29, 2010 1:25 PM

    Hi
    Few links to check:
    External debugging is not working
    Re: Debugging Abap webdynpro appln
    Re: Unable to Debug WD ABAP application
    Dedug is not working in Production Server.
    a) Check on number of R/3 sessions opened at a time.
    b) Check that user ID configured in portal using System Mapping Under 'Delegate User Administration' is the same user for which you are setting external breakpoint in backend system.

  • Can we make jar file for simple j2se application

    Hi..Can we make a jar file for simple j2se application so that it can be executed on any system like .exe file...

    Read the JAR files section in Sun's Java tutorial.

  • Debug the swing application from eclipse

    Hi
    I had a swing application, to create a exe file i build the application using using build.xml. To run the application we need to open the exe file.
    I want to debug this swing application from eclipse. Can anybody please tell me how to debug this application.
    Note: I can able to debug simple swing application. But i can't able to debug this application.
    Thanks
    mindus

    If it's an actual .exe--that is, if you've compiled it to a native Windows executable--then you can't debug it using a Java debugger (such as the one in Eclipse).
    If, on the other hand, you just have a .jar file or a bunch of .class files, then you can debug this app the same way you debugged the other one.
    If you don't provide more details about what you actually did and what exact problems you're having ("I can't do it" contains no useful information whatsoever), then it's impossible to provide any more detailed advice than this.

  • Connecting a J2SE Application to the Bluetooth Emulation Environment

    I would like to connect a J2SE application to a MIDlet running in the Wireless Toolkit's Emulation Environment using the WTK's bluetooth emulation environment.
    Does anybody know how to access the bluetooth emulation environment of the WTK? This would be of great help.
    Nils

    Ok, it doesn't seem to be possible to connect to the WTK bluetooth emulation environment. The only decent possibility that I see is using Rococo Impronto DK (comes free as an academic licence) under Linux.
    For the MIDlet, either a real mobile phone supporting JSR82 or a J2ME emulator such as ME4SE or mPowerPlayer together with Impronto DK can be used. Two different instances of Impronto can be run over two different bluetooth dongles at the same time, so that everything can be tested on one machine.

  • Account management for a J2SE application

    Hi,
    I am looking for an open source package that allows creating and managing user accounts in a J2SE application. It should directly support log in/log out actions and does not have to be very sophisticated. Thank you for your suggestions.
    Regards,
    Chris

    Hello,
    1. Switching the locale is not a bad idea. This does, however, not switch your keyboard settings, a job done by the OS.
    2. I have no idea what is happening in your second problem. A short example might help as a demonstration. But I myself cannot test it, as I have no Cyrillic font installed on my system.
    Maybe this link will help you:
    http://java.sun.com/docs/books/tutorial/i18n/index.html

  • How to Debug C++ Multithreaded Application in Solaris

    Hi All,
    I am working in Solaris Sparc 5.8 Machine. I need to debug Multithreaded C++ Application in Unix Environment.
    I am using dbx debugger.
    Please explain me how to debug multithreaded applications. if possible please explain me with example.
    Thanks in Advance.
    Thanks & Regards,
    Vasu

    1. Look over the dbx manual that comes with Sun Studio. Dbx includes many features for debugging MT code.
    2. If you have specific questions after reading the manual and trying out the features, ask them in the debugger forum:
    http://forum.sun.com/forum.jspa?forumID=257

  • Debugging of any Application on WAS

    Hello Everybody,
    Can two developers can debug the same application at the same time on the same server?
    If not, then can two developers can debug the different but dependant applications at the same time on the same server?
    What are the possible options are available to debug any applications on the server?
    Thanks,
    Bhavik

    Hi Rich,
    This is Bhavik here.
    I have tried to debug from two different workstations for a same application running on same server under same network.
    If one is debugging, it gives following error to other:
    Failed to connect to remote VM.Connection refused.
    If first person comes out of the debugging and another trying to step into, at that moment there is no problem in debugging.
    So, what should I need to do more to debug simulteneously?
    My WAS server : NW04 SP12
    My NWDS: SP12
    I have enabled my debug mode in config tool.
    Thanks,
    Bhavik

  • How to Debug WebDynpro-ABAP application

    Hello Friends,
         1.  How to Debug WebDynpro-ABAP application.
         2.  What is modal dialog
         3.  If Component contains more than one view, how to make one view is the default. Is that any way I can hide a view.
        4. Is that Component is the highest in the design structure, or any other types available like development components in WebDynpro-Java.
    Thanx for Ur time.
    Cheers,
    Sam

    Hi,
    As i explained LIMU are subobjects like views as they dont have the seperate identity in repository so they have to be linked thru there parent component.
    So when you transport whole component u can see there would be some entries in your transport list as LIMU types ( for views , windows).
    OTR are text elements which u create for the elements of your view so u dont require to hardcode the text to be displayed as they need to be displayed in different languages so what you do is you create say button and for text to be displayed you create on OTR element under some package. now you give this package to your translation team to do all needed translations.
    Yes DDIC types are from dictionary only but when you transport them so all newly created DDIC should also be transported.
    P.S -> Pleas close this thread if satisfied with all questions.
    Thanks
    Anuj

  • How can I debug webdynpro java application?

    hi,
    How can I debug webdynpro java application?
    Thanks

    Check this document
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56
    Also check this sdn thread Re: DeBugginng The WebDynPro Application particularly shailesh kumar posting
    /padmanaban
    Edited by: Padmanaban on Sep 26, 2008 1:55 AM

  • How to debug the webdynpro application

    Hi ,
    i am facing a problem for debugging web dynpro application from offshore (my server is located in onsite) and i connected using VPN and also i changed my SDM Debug Mode to ON  and also enable debugging of  process also but it is giving error message like this
    <b>Failed to Connect to remote VM.Connection Refused</b>

    Hi Nageswara
    The link provided shows you hoe to debug WebDynpro application.
    Its a eLearning course available on sdn,  which shows step by step process.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/3178ae74-0701-0010-ba8d-e3ca9f1edc1e
    Hope ur problem is solved.
    Pls award points for answers.

  • Using Coherence in Netbeans Platform application

    Has anyone else tried to make a Netbeans module for a Netbeans Platform application (that includes the Netbeans IDE) that acts as a non-storage-enabled grid member?
    The reason I ask is because in my attempt, getCache() returns null. I am curious what kind of situation would cause getCache() to return null without throwing any kind of exception?

    Hi,
    I would expect an IllegalArgumentException if a scheme mapping could not be found for the given cache name. I'm not sure when it is ever expected to return a null from getCache(). Are you just calling CacheFactory.getCache("cache-name")? Could you give some more information about your setup / configuration and how you are calling getCache()?
    Thanks

  • Netbeans Platform Application and JavaFX CSS API

    I'm using JavaFX in my Netbeans Platform Application. I load JavaFX scene with next code:
    SwingUtilities.invokeLater(new Runnable()
                    @Override
                    public void run()
                        javaFxPanel.setSize(getSize());
                        add(javaFxPanel, BorderLayout.CENTER);
                        Platform.runLater(new Runnable() {
                            @Override
                            public void run() {
                                    Group branchNode = new Group();
                                    Scene scene = new Scene(branchNode);
                                    try{
                                        scene.getStylesheets().add("C:\\Xlab\\pandora\\branches\\simon-welcome-screen\\TraineeGuiApp\\modules\\ui\\welcomescreen\\main.css");
                                    catch(Exception e)
                                       Exceptions.printStackTrace(e);
                                    Rectangle rect = new Rectangle(100,100);
                                    rect.setLayoutX(50);
                                    rect.setLayoutY(50);
                                    rect.getStyleClass().add("my-rect");
                                    ((Group)scene.getRoot()).getChildren().add(rect);
                                    // Add scene to panel
                                    javaFxPanel.setScene(scene);
                                    javaFxPanel.setVisible(true);
                        //Application.launch(FXApplication.class, null);
                });As you can see i provide absolute path to my css file. CSS file and class that i want to use it from are in same package. I also tried providing just a "main.css" string to scene.getStylesheets().add("main.css"); method.
    I have no idea why this is not working. Any suggestions?
    Edited by: user8867321 on 1.9.2011 9:56

    Admittedly, the stylesheet path handling is pretty bad. If you can see the .css file in your browser, then you have a valid URL. You can also use Class.getResource("blah").toExternalForm() to get the right URL string. For example, if I have my .css file in the same directory as Main.java, then I could do scene.getStylesheets().add(Main.class.getResource("sample.css").toExternalForm());

  • JDeveloper 11.1.1.1.0 hangs while debugging a simple application

    Hello all... I use Jdeveloper 11g in my Fedora linux ( version 9 ) machine. Jdev works fine normally, but when I try to debug a sample application it simply hangs and does not allow me to do anything besides going to console mode and killing off all the processes associated with Jdev in the following manner..
    [sugantha@localhost ~]$ ps aux | grep jdev
    and then kill -9 <PIDs>
    The code where it hangs exactly is this...
    *public void actionPerformed(ActionEvent e) {*
    String cmd = e.getActionCommand();
    *if (ON_TOP_COMMAND.equals(cmd)) {*
    if (onTop.isSelected())
    layeredPane.moveToFront(dukeLabel);
    else
    layeredPane.moveToBack(dukeLabel);
    *} else if (LAYER_COMMAND.equals(cmd)) {*
    int position = onTop.isSelected() ? 0 : 1;
    layeredPane.setLayer(dukeLabel,
    layerList.getSelectedIndex(),
    position);
    with the breakpoint placed in line 2 of the code shown.Pressing F7, F8 or F9 has no effect. Has anyone ever encountered this issue or is there a workaround to avoid this kind of behaviour while debugging in JDeveloper. Thanks in advance.

    "Installing the ADF runtime is not required if you are using JDeveloper to run applications in Integrated WebLogic Server."
    http://docs.oracle.com/cd/E24382_01/admin.1112/e16179/deploy.htm#BGBECCBE
    When I explicitely add the groovy-lang-1.6.3.jar in "Project properties" --> "Libraries and Classpath" then it works!
    The groovy-lang-1.6.3.jar gets deployed with the application.
    But still, why isn't it sufficient to have "ADF Model Runtime" (containing groovy-lang-1.6.3.jar) added ??
    Is the ADF Model Runtime library deployed with the application? Select Manage Libraries. Is the ADF Model Runtime library selected as Deployed By Default?
    If a new library is created, is the library a Deploy by Default?
    If a library is added to a Model or ViewController project and used in the other project is a dependency defined between projects?
    On JDeveloper 11.1.1.4.0 the same application works when debugging it.
    Does anybody know how to fix it. Is there a missing library which was automatically added in the old JDeveloper but is not any more in the new one?
    JDeveloper 11.1.1.4.0 JDeveloper runtime libraries that are deployed into Oracle WebLogic Server to support ADF applications includes groovy-all-1.6.3.jar in the adf.oracle.domain.ear Library and System Classpath.
    http://docs.oracle.com/cd/E23549_01/web.1111/e15470/ap_jdevlibs.htm#BCFCIGBJ
    In JDeveloper 11.1.2.2.0 groovy-all-1.6.3.jar is included only in the adf.oracle.domain.ear Library, not the system classpath.
    http://docs.oracle.com/cd/E26098_01/admin.1112/e16179/ap_jdevlibs.htm
    And is 1.6.3 the right version for ADF 11.1.2.2.0 Applications or should I add a newer groovy version?
    The groovy version is the same groovy-all-1.6.3.jar.
    Edited by: dvohra16 on Sep 11, 2012 9:18 AM

Maybe you are looking for

  • Purchase Order Allowed to Modify After Material Posting and Invoice

    Hi Experts, Why do SAP allows the scenario to change the Purchase Order once Material Document is posted and Invoice is Created unlik Sales Order? Do we have any business scenarios reagarding allowing the PO change? Thanks for the Clarification. Hope

  • Pointing back at me, low res.

    Why does the 'reverse' mode on the camera create low resolution photo's?

  • RFC sap- as400

    Hi everybody's, I've a problem regarding definition of an RFC destination. Using a RFC function I've to call a non sap abap program; particularly the program resides on as400 server. I've defined a TCP/IP rfc destination in which I've specified the i

  • XI Content for Business Partner

    hi, can anyone suggest what is the XI Content for Business Partner in CRM.  i just need the exact name so that i can download it from the service marketplace. thanks. krishnan

  • Div inside another div

    Ok..is it just me, or does auto height really do squat when it comes to expanding and contracting of content in other divs that it surrounds? I have a div surrounding 2 divs, one that floats to the left, and one that floats to the right. If the div t