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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

How do I debug an open source Java Web App?

  • 11-06-2009 11:21pm
    #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 Posts: 2,031 ✭✭✭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