views:

199

answers:

3

Is it possible to debug the applet loading process of the java plugin?

I don't want to debug my applet application, I want to debug the applet loading process of the java plugin2. I mean the jnlp/jar download, cache lookup, certificate check, etc. I know the java plugin is not open source, but it would help anyway.

I'm trying to solve JNLP2ClassLoader issues happening only within IE. It works with Google Chrome or Firefox. The error is not very reproducible, but one of the is "JNLP2ClassLoader.findClass: org.apache.log4j.spi.ThrowableInformation: try again...".

A: 

I know you can with eclipse if you put a breakpoint somewhere in one of the init methods. You should be able to run an applet from your debugger without needing a webpage.

Pace
+2  A: 

This article will guide you on how to debug applets using Eclipse.

Bozho
+1 for this nice tutorial
stacker
A: 

You can set the log level to trace, pressing 5 anytime in the java plugin console. Configure the plugin to open the console automatically and press 5 as soon as it opens. this will print a bunch of stuff that can or cannot be useful to you.

rsilva
Yes, I'm already doing this.
tuler