I'm trying to use the java jdk debugger (AppletViewer and
jdb) and the way I understand it, I have to start from
one of the demo class directory (GraphLayout or TicTacToe,
with ..\..\bin\AppletViewer -debug example1.html. My class
path variable is set correctly, and as long I'm not using
the -debug parameter the viewer load the applet correctly.
On the other hand with the -debug option, there's a timeout
and then I get:
Internal exception:java.net Unknown exception
at sun tools.debug:RemoteDebugger <init> (RemoteDebugger
at sun.tools.ttydebug:TTY<init> <TTY.java.1309>
Apparently they say that the AppletViewer should
return me a password that I can use with the jdb (from
another window session??? I'm using win 95) but it looks
as if this debugger need to have a connection to work,
why? I'd like to debugg offline simple applications with
their debugger (I can't buy visual cafe) but it doesn't
work even with applications that doesn't use remote calls
or Inet methods.
Another point:I've try also the recompile
with import java.tools.debug; in jdk 1.02 from sun and
the compiler tell me that this is not acceptable although
my classpath points to the lib\classlib.zip directoy.