Remote Applet Debugging

"Flatoff Allan" <[email protected]> Mon, 12 Dec 2005 08:38:38 -0600
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
Hello,

I have attempted to debug an applet with Jswat (unsuccessfully) and
here's the result.

Maybe someone can help . . .

Some background:

I can't launch the applet using appletviewer since the applet can't run
standalone.  It uses
getBaseUrl to obtain the Applet's address which it in turn uses to call
a servlet which accesses
Items in the user's web session.  - So basically no web session - no
running my applet

http://java.sun.com/j2se/1.4.2/docs/api/java/applet/Applet.html#getCodeB
ase()

So therefore I have to run the debugger remotely.

I followed the instructions here:

http://www.bluemarsh.com/java/jswat/docs/howto-applet.html

And in the Jswat online help to get connected to the session.

I managed to get a debug session going -

Here's my question:

How do I get to see my applet source code and set break points?

Obviously I will have to view a decompiled version of it or something - 
Since applets are compiled class files

I'll keep trying at it but if anyone can point me in the right direction
it would be appreciated.

Thanks!


This e-mail is confidential.  If you are not the intended recipient, you must not disclose or use the information contained in it.  If you have received this e-mail in error, please tell us immediately by return e-mail to [email protected] and delete the document.

E-mails containing unprofessional, discourteous or offensive remarks violate Sentry policy. You may report employee violations by forwarding the message to [email protected].

No recipient may use the information in this e-mail in violation of any civil or criminal statute. Sentry disclaims all liability for any unauthorized uses of this e-mail or its contents.

This e-mail constitutes neither an offer nor an acceptance of any offer. No contract may be entered into by a Sentry employee without express approval from an authorized Sentry manager.

Warning: Computer viruses can be transmitted via e-mail. Sentry accepts no liability or responsibility for any damage caused by any virus transmitted with this e-mail.

_______________________________________________
jswat-user mailing list
[email protected]
http://www.bluemarsh.com/mailman/listinfo/jswat-user