"praveenas" wrote : | I want to run jboss in debug mode. Also, Let me know the command for this. Or any particular steps to be followed if we are running with out eclipse? | |
Praveena, I do not have experience using JBoss Tools. For debugging, i use plain Eclipse (without any additional plugins). Here's how i attach the debugger with Eclipse: Here's how attach a debugger through Eclipse: 1) Edit the run.bat file of JBoss to use the following debug options (note the suspend=n option, this tells the server not to wait till the debugger attaches itself to the server ): | set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS% | 2) Start the server from the command line, using the run.bat file. 3) Once the server has completely started, i go to my (plain) Eclipse project and create a new "Remote Java Application" debug session (if it's not already created). In the "Port" text box i specify 8787 (the same as what i have in the run.bat). Then click on Debug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154929#4154929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154929 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user