Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

How do I debug an open source Java Web App?

  • 12-06-2009 12:21AM
    #1
    Registered Users, Registered Users 2 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, Registered Users 2, Paid Member Posts: 2,032 ✭✭✭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