0 Replies Latest reply on Jul 8, 2009 3:12 AM by puntino

    Remote debugging with Jboss

    puntino

      Hallo,
      I'd like to know how to set up my Eclipse 3.4.2 and Jboss in order to debug my application in remote mode.
      First of all, I already enabled the line:

      set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%

      In Eclipse, in the debug configuration panel I set the ip address of the jboss server where my web application is hosted, and 8787 as port number.
      Then, I lauch my debbuger by clicking on the green beatle and the Jboss got stuck in an infinite loop.
      How can I sort it out ?

      Aside from this strange behaviour, I can't figure out how it is possible to debug an application running on the server with a debugger that it is installed on the client side where the code is developed...
      I would appreciate any help.
      Thank you in advance