Hey dudes, i got an example from "Debugging Midlets", and it shows me how i could debug Tomcat in other machine: here is the command to do so
D:\home\edson>jdb -sourcepath %SOURCEPATH% -connect com.sun.jdi.SocketAttach:hostname=172.17.2.200,port=8000 As you can see i´m using a WinNT and the machine that i must test is a Linux besides me, the hostname is an address for the JVM. That´s all! > ---------- > De: pcampaigne[SMTP:[EMAIL PROTECTED] > Responder: Tomcat Users List > Enviada: sexta-feira, 7 de março de 2003 15:08 > Para: Tomcat Users List > Assunto: Re: Remote debugging throught network > > To All. > Has anyone got remote debugging working with tomcat 4.1.X? It is my > understanding that it only works with 4.0.X? > Phil Campaigne > > ----- Original Message ----- > From: "Karr, David" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Friday, March 07, 2003 8:31 AM > Subject: RE: Remote debugging throught network > > > Any JPDA-compliant debugger can do this. NetBeans is one example. You > simply specify the "Attach to remote server" option (different debuggers > will name this differently), and specify the host where your JVM is > running > on, "dt_socket" connections, and the address. You'll probably want to > have > your application source code and/or Tomcat's source code mounted in the > project (so you'll have something to set breakpoints on). > > > -----Original Message----- > > From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 07, 2003 5:55 AM > > To: 'Tomcat-User List' > > Subject: Remote debugging throught network > > > > Hello folks, i´m trying to debug my application in a special machine > > throught network, that machine is a Linux with Tomcat-4.1.18 as it´s > > server. > > I´m already have a development environment in my personal machine, but > > there > > are some error with my application that happen only in Linux. > > > > My Linux´s Tomcat is running with remote debugging using this > > parameters: > > JAVA_OPTS="-Xdebug > > -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" > > > > The problems is, i don´t known how to reach this VM from my own > > machine, how i could do that? > > > > With best wishes, > > Edson Alves Pereira > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >