About Me

My photo
Working as Technical Lead in CollabNET software private limited.

Monday 25 February, 2008

Debug Java Application or Java Web Application using Eclipse

Steps To Configure Java Application with eclipse

1. Append below parameters to JVM_ARGUMENTS of the Application

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,
address=5050


2. Configure your Eclipse Debugger.

Go to project source.
Place Break Points in Project source where ever needed.
Go to Project > Run > Open Debug Dialog
Create new Remote Java Application with corresponding parameter
Host - Application Host IP
Port - Port specified in JVM_ARGUMENTS of Application.
Click Debug

3. Access your application.

1 comment:

Anonymous said...

Great work.