Hi,

I managed to get the debugger working fine using the JDK1.3beta release 
(which includes the jpda). In order to avoid using the JDK beta release I 
tried to also get it working with the jdk1.2.2 (latest) release. However:

Below is the typical output when I do *not* specify the variable 
jde-bug-jre-home:

*** Debugger Output for Process Application(1) ***

Error: debugger unable to launch Application.
  Reason: VM initialization failed for: D:JDK1.2.2JREinjavaw -Xdebug 
-Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,address=rs46:1065,suspend=y -classpath 
.;d:/jdk1.2.2/jre/lib/rt.jar Application
Error: cannot set breakpoint at line Application.java in file 10.
  Reason:
Error: unable to run Application..
  Reason: Application ID '1' does not exist.
====================================

Below is the typical output when I *do* specify the variable 
jde-bug-jre-home (as d:/jdk1.2.2/ ):

*** Debugger Output for Process Application(1) ***

Error: debugger unable to launch Application.
  Reason: VM initialization failed for: d:/jdk1.2.2/injavaw -Xdebug 
-Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,address=rs46:1066,suspend=y -classpath 
.;d:/jdk1.2.2/jre/lib/rt.jar Application
Error: cannot set breakpoint at line Application.java in file 10.
  Reason:
Error: unable to run Application..
  Reason: Application ID '1' does not exist.
====================================

Standard Compile and Run App works fine.

Emacs 20.5.1, jdk1.2.2, Win95
Relevant part of .emacs:
(custom-set-variables
 '(jde-compile-option-command-line-args "")
 '(jde-bug-jre-home "d:/jdk1.2.2/")
 '(jde-compile-option-debug (quote ("all" (nil nil nil))))
 '(jde-bug-jdk-directory "d:/jdk1.2.2/")
 '(jde-db-source-directories (quote ("./" "d:/jdk1.2.2/src/")))
 '(jde-compiler "javac")
 '(jde-db-debugger (quote ("jdebug" . "Class")))
 '(jde-run-working-directory "")
 '(jde-global-classpath (quote ("." "d:/jdk1.2.2/jre/lib/rt.jar")))
 '(jde-bug-jpda-directory "d:/jdk1.2.2/jpda")
 '(jde-bug-vm-includes-jpda-p nil)
...

Gert.

Reply via email to