how to debug (step into) ajavaapplication?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ahmed222too
    New Member
    • Sep 2007
    • 47

    how to debug (step into) ajavaapplication?

    how to debug (step into) ajavaapplicatio n?
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    That depends. What exactly are you trying to do? Are you developing an application, which you now wish to debug? Or have you downloaded one, which doesn't work properly?
    Are you using an IDE (like Eclipse or Netbeans) or just an editor? If so, which one?
    Is there a specific error, you get? If so, when do you get it?
    The questions could go on and on... Give us some more information!

    Greetings,
    Nepomuk

    Comment

    • ahmed222too
      New Member
      • Sep 2007
      • 47

      #3
      Originally posted by nepomuk
      That depends. What exactly are you trying to do? Are you developing an application, which you now wish to debug? Or have you downloaded one, which doesn't work properly?
      Are you using an IDE (like Eclipse or Netbeans) or just an editor? If so, which one?
      Is there a specific error, you get? If so, when do you get it?
      The questions could go on and on... Give us some more information!

      Greetings,
      Nepomuk
      i use netbeans as an editor, i developed javaapplication and wish to debug to trace the steps. the project has logical error so i wish to trace the steps.

      thanks

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by ahmed222too
        i use netbeans as an editor, i developed javaapplication and wish to debug to trace the steps. the project has logical error so i wish to trace the steps.

        thanks
        You simply put some the breakpoints and use the Debug option under the Run menu.

        Or better yet, click Help->Help Contents and then click Search in the dialog that appears there and search for Debug.

        Comment

        • ajos
          Contributor
          • Aug 2007
          • 283

          #5
          Originally posted by ahmed222too
          i use netbeans as an editor, i developed javaapplication and wish to debug to trace the steps. the project has logical error so i wish to trace the steps.

          thanks
          Here you are
          Debugging in Netbeans

          Also this can be usefule.

          Adding Breakpoints

          Comment

          • JosAH
            Recognized Expert MVP
            • Mar 2007
            • 11453

            #6
            I wonder why people spend so much time and effort in producing extensive sets
            of help files with an abundance of explanations and pictures etc. It is never read ...

            kind regards,

            Jos

            Comment

            Working...