Reputation: 99
I have setup tomcat for remote debugging through eclipse, I have added following configuration in tomcat startup script
export JPDA_ADDRESS=9999
export JPDA_TRANSPORT=dt_socket
echo $JPDA_ADDRESS
…….
exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"
However, there are multiple developers working on this server and when my debugger stops at breakpoint I added, other developers get stuck, is there anyway in tomcat which will allow other developers to continue running application seamlessly while I am debugging?
Upvotes: 0
Views: 649
Reputation: 9514
As you made me realise, you really need a second independent tomcat instance. As underlined in the comment below, the debug breakpoint mechanism in the JVM would stop all webapps reaching the breakpoint even if you duplicate them (said otherwise regardless of the number of working threads, each thread would freeze and wait or resume signal).
Upvotes: 1