Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Debugging servlets

Options
  • 23-03-2005 12:34pm
    #1
    Registered Users Posts: 17,727 ✭✭✭✭


    There must be a better way than copying it onto the server each time.
    Is there a container i can run it in, an extension for netbeans?
    Please enlighten me.


Comments

  • Closed Accounts Posts: 324 ✭✭madramor


    rkm wrote:
    There must be a better way than copying it onto the server each time.
    Is there a container i can run it in, an extension for netbeans?
    Please enlighten me.
    netbeans comes with tomcat built in


  • Registered Users Posts: 17,727 ✭✭✭✭Sherifu


    netbeans comes with tomcat built in
    I've noticed that alright,
    but is it integrated into the IDE for debugging?,
    or do you have to copy files to tomcat directories locally?


  • Registered Users Posts: 1,994 ✭✭✭lynchie


    Haven't used netbeans but I assume it has a debugger in it. Enable remote debugging for your container (tomcat) and step through your code. Google for JPDA for instructions on it.


  • Closed Accounts Posts: 324 ✭✭madramor


    rkm wrote:
    I've noticed that alright,
    but is it integrated into the IDE for debugging?,
    if its not integrated you cannot debug code.

    using v4 simply select your web project, then from the
    menu Run-> Debug Main Project
    this launches the application in a browser window and pops
    up the debugger in the ide


  • Registered Users Posts: 17,727 ✭✭✭✭Sherifu


    Cheers for that lads.


  • Advertisement
Advertisement