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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to