[jboss-user] [JBoss Seam] - Re: How to debug seam-gen generated project in Eclipse (JBos
SchottenHammel
do-not-reply at jboss.com
Fri Jan 5 13:54:38 EST 2007
I might be able to help:
1. Edit run.bat in your jboss/bin directory.
2. Add the following line after the last "set JAVA_OPTS=" line:
set JAVA_OPTS= -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=5001,server=y,suspend=n %JAVA_OPTS%
(I chose port 5001 but you can choose whatever port you want, unless it's free ;) )
3. Go to your Seam project in Eclipse, click the "Debug As" button, or just debug and select "Remote Java Application". Enter the port you chose before and click on debug.....TA DA :) (JBoss must already be running)
4. Set your breakpoints and jump for joy!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998357#3998357
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998357
More information about the jboss-user
mailing list