Friday, 26 February 2010

Debugging web applications from eclipse

Today i came to know debugging web applications from eclipse

Thanks to my collegue Will Byng for helping me a lot in this.

I want to share with my readers

Below are the steps required

1) Download Weblogic Server 923 in official oracle website.

http://download.oracle.com/docs/cd/E15315_04/help/oracle.eclipse.tools.common.doc/html/install.html

2) In startweblogic.cmd

set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS% -DproxyHost=Access2 -DproxyPort=8080 -DnonProxyHosts="10.220.*|localhost" -DproxySet=true

3) From eclipse click "start the server in debug mode" icon available in "Servers" Tab

4) Make sure status icon of the weblogic server in eclipse will show "Debugging".

5) Keep "breakpoint" in the code you want to debug.

Hope this explanation helps.

No comments: