[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Steps to install Jboss tools in eclipse sdk

jaikiran do-not-reply at jboss.com
Mon Jun 2 02:49:45 EDT 2008

"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?


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

More information about the jboss-user mailing list