Loading

Pages

Friday, July 11, 2008

Debugging applets from eclipse

Here is how to debug the applet from eclipse.
First configure the jdk plugin for debugging
1)From settings/Control Panel select Java-Plugin(Java-plugin control panel)
2)In the advanced tab under java Runtime Parameters
paste the following line Djava.compiler=NONE -Xnoagent -Xdebug - Xrunjdwp:transport=dt_socket,address=9999,server=y,suspend=n address can be any valid port .
Now in eclipse select debug from the run menu.
1)Create a debug configuration for applet under Remote Java Application
2)Specify host and port(port is same as the value of address in the java-plugin configuration.
3)To allow termination of debug session from eclipse,check the allow termination of remote vm.
Now load the applet in the browser first.Then from eclipse start the debug session.

Tuesday, July 1, 2008

Furure plans for this site

Technical articles, tutorials, book reviews, code samples
and useful links for programmers.