At 09:52 AM 10/1/00 GMT, you wrote:
>Probably a stupid question, but how come the debugging environments
>for applets and applications are not the same? I know from Forte that
>it's possible - unfortunately I get a rash after 2 minutes of using
>Forte and have to go get my emacs medication in a hurry.

Your question is quite reasonable. The JDE originally offered only an
interface to jdb as a debugging capability. Within the last year, I have
added a JPDA-based debugger, JDEBug, which was developed with the help of
the Sun JPDA team. I have not had time to investigate whether it is
possible to provide JDEbug with the ability to debug applets that run in a
browser or appletviewer's vm. Theoretically it should be possible to attach
JDEbug to the browser or appletviewer vm. However, AFAIK, these
applications do not allow you to put the vm into the required JPDA debug
server mode.  Any insight you can offer on this problem would be very
welcome. You can certainly use JDEbug to debug applets if you write the
applets to be applications as well, i.e., to include a main method and
perhaps a wrapper frame to contain the applet GUI.

- Paul

Reply via email to