You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Francesco Marchioni <FM...@hotmail.com> on 2001/06/12 19:17:02 UTC

How to run Tomcat with JDB ?

Hi all,
I'd like to debug my jsp pages running on tomcat.
 
I launch Tomcat with the following options: 
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000
Then I attach to the port 5000...with jdb ....the debugger starts..but now I'm stuck. 

How can I set a breakpoint to my jsp let's say "Test.jsp" when the method "dosomething()" enters ??

Thanks in advance
Francesco