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

How do I debug an open source Java Web App?

Options
  • 12-06-2009 12:21am
    #1
    Registered Users Posts: 721 ✭✭✭


    I've pulled down the souce and followed the instructions to compile it but I can't figure out how to debug it.
    Where do I start?


Comments

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


    Well the project is built using maven. You are best to build it with maven.

    Basic steps for debugging would be

    -Enable debug in pom.xml for building app. Build and deploy it to tomcat.
    -Start tomcat with debugging enabled.
    -In eclipse attach to the running tomcat process
    -Stick a breakpoint on the line u want to debug and launch your app to trigger the breakpoint.


Advertisement